Fix #7603, Race condition when loading auto_win32_multihandler.rc
parent
3640e87a37
commit
f082fd5399
|
@ -13,6 +13,10 @@ def out_path
|
||||||
"#{Msf::Config::local_directory}/meterpreter_reverse_tcp.exe"
|
"#{Msf::Config::local_directory}/meterpreter_reverse_tcp.exe"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Please see:
|
||||||
|
# https://github.com/rapid7/metasploit-framework/issues/7603
|
||||||
|
sleep(1)
|
||||||
|
|
||||||
run_single("use payload/#{PAYLOAD}")
|
run_single("use payload/#{PAYLOAD}")
|
||||||
run_single("set lhost #{payload_lhost}")
|
run_single("set lhost #{payload_lhost}")
|
||||||
run_single("set lport #{payload_lport}")
|
run_single("set lport #{payload_lport}")
|
||||||
|
|
Loading…
Reference in New Issue