Skip to content

Commit e1adcfe

Browse files
committed
No case sensitive
1 parent c4def25 commit e1adcfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/exploit/http/server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def fingerprint_user_agent(ua_str)
305305
when /opera\/(\d+(:?\.\d+)*)/
306306
fp[:ua_name] = HttpClients::OPERA
307307
fp[:ua_ver] = $1
308-
when /mozilla\/[0-9]+\.[0-9] \(compatible; msie ([0-9]+\.[0-9]+)/, /mozilla\/[0-9]+\.[0-9] \(.+ rv:([0-9]+\.[0-9])\)/
308+
when /mozilla\/[0-9]+\.[0-9] \(compatible; msie ([0-9]+\.[0-9]+)/i, /mozilla\/[0-9]+\.[0-9] \(.+ rv:([0-9]+\.[0-9])\)/i
309309
fp[:ua_name] = HttpClients::IE
310310
fp[:ua_ver] = $1
311311
else

0 commit comments

Comments
 (0)