Welcome to Ask A Pentester, where you can get your security questions answered by members of the IT Security community!

Spread the word!

What to learn first?

+1 vote

first off im new so this may already have been answered before.

Whats the best programming language to learn? I want to be a pentester with stuff like servers, web apps, websites and to code exploits.

So what languages should i learn? and in what order?

asked 10 months ago in Programming by Konvict amateur (200 points)

2 Answers

+1 vote

Hi,

this is sometimes one of those "religion" discussions (Perl vs. Python, etc.) :) but being just practical, this is my opinion:

For the stuff you mention (and a lot more), I would recommed some interpreted language, since you want to get things done.

Python is a very good alternative, it has a very simple and intuitive syntaxis (despite of some annoying indentation problems). It's easy to learn and have all the features a full blown OOP language.

Ruby could be interesting as well, since is the language Metasploit is written in... but the syntaxis is way more complicated, maybe not the first choice...

If you want to review code or do some binary analysis it's imperative that you learn C/C++ since tons of software are built on these languages and they are prone to some memory management errors, which could result in security problems.

 

A good reading that might interest you is "Gray Hat Python"

 

Hope it helps,

Carlos

answered 10 months ago by m0n0sapiens pro pentester (830 points)
0 votes

wow thanks, i have been learning python but just wante to make sure it was the right one. that python for grey hats is just what i need

answered 10 months ago by Konvict amateur (200 points)

Please log in or register to answer this question.