Revert gsub!
parent
1da961343a
commit
af13334c84
|
@ -121,7 +121,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
post_body.sub!(cmd_placeholder, cmds)
|
||||
|
||||
# fix multipart encoding
|
||||
post_body.gsub!(/\r\n\r\n--_Part/, "\r\n--_Part")
|
||||
post_body.gsub!(/\r\n(--#{mime_msg.bound})/, ' \\1')
|
||||
|
||||
# send request to append shell commands
|
||||
print_status("#{peer} - Injecting the payload...")
|
||||
|
|
Loading…
Reference in New Issue