Sign in with
Sign up | Sign in
Your question

C or C++ first

Last response: in Applications
Share
May 24, 2010 4:03:24 PM

I am not a programmer, I am into network security for example pen-testing, vulnerabilities social engineering etc. Any who i would like to learn language so i can make my own payloads and small program's and such (for testing of course).

I know windows, Linux, Unix and MAC OS use C , C++ and some other languages to create their OS. I wanna have a little knowledge on it so i was reading around and I saw people saying to learn C first instead of C++.


I just want to get more opinions also please recommend any other languages you think might be helpful.


Thanks,

More about : question

May 24, 2010 8:30:39 PM

Hi newcomer and welcome to the Tom's hardware forum.

1- HTML
2- JAVA
3- KOBOL

All those can help to u in a specific problem.
a b L Programming
May 26, 2010 12:18:52 AM

I would say it all depends on what and how you would like to test

If you simply want to create exploitation vectors and payloads, I suggest you contribute to the Metasploit project. That project was originally written in Perl, but the latest version is in Ruby. If that tool would be useful for you, I suggest you learn those languages as you would then be able to contribute to the project and save yourself the trouble of recoding tons of stuff other people already created.

If you want low-level control over the machine or even do kernel programming, the C is definitely the language you want to get familiar with.

If you want a general-purpose programming language with lots of built-in API functions, then I suggest either Perl or Java (or similarly Groovy). Each of them have pros and cons, I suggest you use the one that might already be more widespread where you are working. For example, I know a few companies that use Perl as part of their network monitoring infrastructure so for you it might serve a dual-purpose.

May 26, 2010 2:50:23 PM

Well I really want to protect against other people I figure if i can hack your system anyone can. So I am going after all OS and I do want to create exploits and payloads. I been using Metasploit and KarMetasploit. Also would liek to make my own recon program like nessus.

I was leaning more towards C in the beginning because I know its written in a lot of OS so I figured if I learn C I can write something that will affect OSX, Windows and Linux etc.


But after reading your comment I might look into Perl little more


Thanks and keep the comments coming
!