From: Jeremy Hinegardner Date: 2008-04-28T04:30:48+09:00 Subject: Re: Ruby For Hackers On Mon, Apr 28, 2008 at 02:33:33AM +0900, Tim Hunter wrote: > Luka Lukako wrote: >> Anybody know how to writing Keyloggers in ruby, or trojans or other >> viruses? > > Well, I don't know much about that field of programming, but if I had to > guess I'd say that Ruby seems ill-suited for these kinds of applications. I > mean, it makes it hard to run code surreptitiously when the target computer > has to have the Ruby interpreter, RubyGems, and half-a-dozen gems > installed. What are you going to say when the target machine's actual owner > asks you why he has to install all this stuff? "Oh, no reason. Don't worry > about it. Pretty please?" Actually, one of the best tools for security research, penetration testing, exploit research and the like is Metasploit. Which is completely written in Ruby. Aaron Bedra did a talk at Rubyconf 2007 on this very subject, he is involved in the metasploit project. He will also be giving a talk at RailsConf 2008 related to security and rails. aaron's talk from 2007 : http://aaronbedra.com/assets/2007/11/11/rubyconf.pdf > All-in-all you're probably better off using some language more suited for > malware. Like Perl, or Python. Yeah, that's it. Perl. Or Python. Either > one. I would say it is the complete opposite. In the security research area, Ruby is a rising tool. I have several friends in the security realm who are learning Ruby specifically to do work with metasploit. enjoy, -jeremy -- ======================================================================== Jeremy Hinegardner jeremy@hinegardner.org