parent
b7904fe0cc
commit
57d156a5e2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue