Revert "XML encode the command passed"

This reverts commit 9952c0ac6f.
bug/bundler_fix
Tod Beardsley 2016-11-29 16:24:26 -06:00
parent b7904fe0cc
commit 57d156a5e2
No known key found for this signature in database
GPG Key ID: 08B5B91DC85943FE
1 changed files with 1 additions and 2 deletions

View File

@ -75,8 +75,7 @@ class MetasploitModule < Msf::Exploit::Remote
template << " </SOAP-ENV:Body>"
template << "</SOAP-ENV:Envelope>"
cmd_encoded = cmd.encode xml: :text
template % cmd_encoded
template % cmd
end
def execute_command(cmd, opts)