View Full Version : coding sploits for Metasploit 3, anyone experienced?
linuxbeast
04-15-2008, 02:34 PM
Anyone coding spoits for Metasploit 3? I'd like a response from someone experienced doing so. Where do I begin? My programming experience is in shell scripting, java, and c++. Is this a problem? I'm guessing I need to know C or Assembly, but that will happen after I transfer from my community college over to an University. I learned Java only at school. The rest of my computer knowledge comes from teaching myself.
pureh@te
04-15-2008, 02:43 PM
Metasploit 3 is entirely coded in ruby
.lonewolf
04-15-2008, 02:44 PM
Anyone coding spoits for Metasploit 3? I'd like a response from someone experienced doing so. Where do I begin? My programming experience is in shell scripting, java, and c++. Is this a problem? I'm guessing I need to know C or Assembly, but that will happen after I transfer from my community college over to an University. I learned Java only at school. The rest of my computer knowledge comes from teaching myself.
Java is a great language, extremely flexible and afaik, very quick to execute. (relatively speaking) :D
You should ask shamanvirtuel for some guidance. Try one of his threads in the Programming section... or his website.
There are other programmers here who will also give you good advice.
Sorry... I think I went off topic :confused:
thorin
04-15-2008, 03:16 PM
Anyone coding spoits for Metasploit 3? I'd like a response from someone experienced doing so. Where do I begin? Try starting here:
http://redstack.net/blog/index.php/2008/01/24/writing-exploits-for-metasploit-30.html
My programming experience is in shell scripting, java, and c++. Is this a problem? Ruby (which Metasploit uses as of v3) is just another language. They all use the same constructs just a different dictionaries so to speak. Every single language has a loop construct....increment from this to that by (optionally) steps of this size, etc.
KMDave
04-16-2008, 08:26 AM
You need to know how to write exploits in order to write modules for Metasploit.
Usually you start by finding the exploit/vulnerability with a fuzzer and then port the exploit to the MSF.
hhmatt81
04-16-2008, 08:33 AM
To be completely honest I don't see much use in porting exploits into metasploit if you already know how to write them yourself. Most exploits are written in C/C++, Python, or PERL
Metasploit isn't completely useless though because I'm sure your going to get most of your shellcode from metasploit anyways.
KMDave
04-16-2008, 10:30 AM
I just wanted to point out that metasploit is usually not used to write/find new exploits.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.