Skip to content

Commit 7cd532c

Browse files
committed
Change targetr to target to fix small typo bug on one failure
The target object seems to have a typo where it is referred to as “targetr” which I’d guess isn’t exactly what we’d like to do in this case. So, I’ve changed that to “target” in order to work. So, I’ve simply fixed that small typo.
1 parent 54d64cd commit 7cd532c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/windows/browser/ms07_017_ani_loadimage_chunksize.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ def generate_ani(payload, target)
494494
].pack('v')
495495

496496
else
497-
fail_with(Failure::NoTarget, "Unknown target #{targetr['Method']}")
497+
fail_with(Failure::NoTarget, "Unknown target #{target['Method']}")
498498
end
499499

500500
# Build the ANI file

0 commit comments

Comments
 (0)