PDA

View Full Version : Scripting for Metasploit



amay1283
June 10th, 2010, 11:37 AM
Hi!!!
I am new to the world of programming and pen testing. I have just downloaded metasploit and have it running successfully on ubuntu. My query is which scripting language will be useful to learn to develop my exploit scripts? Metasploit is apparently running on Ruby. So is ruby the right tool to use? Will appreciate some advice on this.

ja660k
June 10th, 2010, 05:23 PM
The hacker/pen testing community generally follows newer languages, so ruby is the prime candidate.
As metasploit is written in ruby, im assuming you'll have to code in ruby, But alot of exploits were written in perl also.
its quite a nice language... both of them, different. but nice.

If your just starting to program, id not write exploits; they require a deep knowledge of the internets and its protocols and essentially find holes in them, or holes in what other people have wrote.

but use the googles
There is millions of results.

BTW dont learn a language just because its used in penetration testing (my 2 cents)
OH and if you want to lean more into the pen testing... look into backtrack 4.
http://www.backtrack-linux.org/