Powered by Blogger.

Monday, September 2, 2013

Which Programming Language Should I Learn For Hacking?

No comments :
Every hacking beginner can have plenty of doubts like: "Which programming language should I learnfor Hacking?", "How to become A professional Pentester / Hacker?" etc, so today I will show you a few suggestions on the Programming Languages that you should learn.

I. Why Programming?

The first question, many people will ask, is why should I learn any programming language whenthere are so many tools and Frameworks such as MSF (Metasploit framework) to do my job. All I need to know is how the tool works and what is the purpose of it. The Answer for the question isboth yes and no. You can become a Pentester/Hacker without knowing any programming, howeveryou are not going to become a GOOD pentester/Hacker. 

So Knowing Programming Will:
  • Differentiate you from Script Kiddies and Tool Lovers
  • Help You in Understanding About Vulnerabilities
  • Help You in writing Your own tools, scripts
  • Help You in writing exploits, Shell codes etc
  • Help You modifying Existing scripts, tools according to your needs

II. Which Programming Language should I Learn?

So now that you have understood the importance of knowing programming, the next question in yourmind is which programming language should I learn - the answer for this question depends on yourinterests and goals.

1. For Web App Pentesting /Hacking:

HTML

Hypertext Markup Language (HTML) is the basics for creating web pages and other information thatcan be displayed in a web browser. So if you don't know HTML you should first learn it.

JAVAScript

Learning java script. It will help you to understand the basics of Cross Site Scripting.

PHP/SQL

Majority of web applications are written using PHP and MySQL. So it is a must to learn PHP.

2. For Writing/Understanding Exploits, Shell Codes,Root kits etc:

C & C++

More than 60 % of the exploits you will find on the web are written in C & C ++. Learning C & C++ willhelp you to understand about Buffer overflows, Stack overflow etc - so learning C and C ++ ismust for every hacker/Pen tester.

Assembly

Learning assembly will help you in Writing/ understanding Shell codes, it will also help you inReverse Engineering applications and software's.

3. For Building Tools And Scripts:

Python

Python is a very powerful high level language, its easy to learn and code, most of the tools andscripts for automation are written in Python. Knowing Python socket programming will help youa lot in Exploit writing.

Ruby

Ruby is an another language which is used to write scripts, tools. Metasploit Framework is written inRuby. Learning ruby will help you understand the in and outs of msf.

Bash

Learning Bash is very useful in writing small scripts for automation.


No comments :

Post a Comment