Revert gsub!

bug/bundler_fix
jvazquez-r7 2013-12-20 11:39:49 -06:00
parent 1da961343a
commit af13334c84
1 changed files with 1 additions and 1 deletions

View File

@ -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...")