Skip to content

Commit c911eee

Browse files
kernelsmithkernelsmith
authored andcommitted
change vprint_error to print_error
exploits/windows/browser/mozilla_reduceright does not tell you when an incompatible browser connects like most other browser exploits do (unless verbose is true). This change just changes the vprint to print to be more consistent w/other browser exploits
1 parent 6ef87d1 commit c911eee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/windows/browser/mozilla_reduceright.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def junk(n=4)
9494
def on_request_uri(cli, request)
9595
agent = request.headers['User-Agent']
9696
if agent !~ /Firefox\/3\.6\.[16|17]/
97-
vprint_error("This browser is not supported: #{agent.to_s}")
97+
print_error("This browser is not supported: #{agent.to_s}")
9898
send_not_found(cli)
9999
return
100100
end

0 commit comments

Comments
 (0)