Skip to content

Commit 223807d

Browse files
committed
Land rapid7#1956 - fix regex error for mozilla_reduceright.rb
2 parents 377fe9f + 4e41e87 commit 223807d

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
@@ -88,7 +88,7 @@ def junk(n=4)
8888

8989
def on_request_uri(cli, request)
9090
agent = request.headers['User-Agent']
91-
if agent !~ /Firefox\/3\.6\.[16|17]/
91+
if agent !~ /Firefox\/3\.6\.(16|17)/
9292
print_error("This browser is not supported: #{agent.to_s}")
9393
send_not_found(cli)
9494
return

0 commit comments

Comments
 (0)