Skip to content

Commit bc9a26d

Browse files
author
jvazquez-r7
committed
Fix condition
1 parent 568181d commit bc9a26d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/windows/browser/mozilla_firefox_onreadystatechange.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def on_request_uri(cli, request)
9292
return
9393
end
9494

95-
if agent !~ /Firefox\/17/ or agent !~ /Firefox\/21/
95+
if agent !~ /Firefox\/17/ and agent !~ /Firefox\/21/
9696
print_error("Browser not supported, sending 404: #{agent}")
9797
send_not_found(cli)
9898
return

0 commit comments

Comments
 (0)