Don't use cmd.exe /c start so we can fetch output

GSoC/Meterpreter_Web_Console
William Vu 2018-09-21 17:48:25 -05:00
parent dc1fddd31e
commit 40f19efe2c
1 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,8 @@ class MetasploitModule < Msf::Post
upload_file(rpath, lpath) upload_file(rpath, lpath)
if session.platform == 'windows' if session.platform == 'windows'
cmd = "cmd.exe /c start #{rpath}" # Don't use cmd.exe /c start so we can fetch output
cmd = rpath
else else
begin begin
# client is an alias for session # client is an alias for session