Skip to content

Commit 668aa4e

Browse files
committed
Use WfsDelay
1 parent 4f6eab1 commit 668aa4e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/exploits/linux/local/vmware_alsa_config.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ def initialize(info = {})
4646
'DefaultOptions' =>
4747
{
4848
'Payload' => 'linux/x64/meterpreter_reverse_tcp',
49+
'WfsDelay' => 15,
4950
'PrependFork' => true
5051
},
5152
'DefaultTarget' => 1,
@@ -212,7 +213,7 @@ def exploit
212213

213214
print_status "Launching VMware Player..."
214215
cmd_exec "vmplayer #{@base_dir}/#{fname}.vmx"
215-
Rex.sleep 5 # give vmplayer some time to launch
216+
Rex.sleep 0.5
216217
end
217218

218219
def cleanup

0 commit comments

Comments
 (0)