Metasploit was discovered by HD Moore as an open source project . Originally written and edited in Perl, Metasploit was completely re-written in Ruby in 2007. In 2009