ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Thu Dec 14, 2017 1:16 pm

All times are UTC




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sat Apr 22, 2017 10:45 am 

Joined: Sat Apr 22, 2017 10:40 am
Posts: 3
Your work (for example) http://aluigi.altervista.org/adv.htm#realwin_2011 and other vulnerabilities abusing/exploits
are almost always written in C. I'm very interested in your work but because my goal is Reverse Engerneering and some other stuff I learned C++ for few months now. My question is if it's possible to make the same thing in C++ too. If so, what would be the pros and cons if it's written in C++?


Top
   
PostPosted: Sat Apr 22, 2017 12:06 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 7245
Just curious to know what's the difference between C and C++ for minimal tools like my proof-of-concept code.


Top
   
PostPosted: Sat Apr 22, 2017 3:07 pm 

Joined: Sat Apr 22, 2017 10:40 am
Posts: 3
why did you decide to use C instead of C++? Doesnt C++ has more variety?


Top
   
PostPosted: Sat Apr 22, 2017 7:36 pm 
User avatar

Joined: Sat Dec 27, 2014 8:49 pm
Posts: 92
C++ is a superset language of C, you can code in C within C++ if you wanted to. C++ adds more modern things to the language but it is not required to be used at all.
He probably wrote the tools in C because it was what he is familiar with rather than C++. Any of his tools can be ported and compiled as C++ with ease.

_________________
My personal site: http://atom0s.com
Donations can be made via Paypal: Click Here


Top
   
PostPosted: Sat Apr 22, 2017 8:44 pm 

Joined: Sat Apr 22, 2017 10:40 am
Posts: 3
thanks for answer!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited