Skip to content

Commit c4def25

Browse files
committed
Resolve rapid7#4986, add support for IE11 for fingerprint_user_agent
Resolve rapid7#4986
1 parent 9cfafdd commit c4def25

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]+)/
308+
when /mozilla\/[0-9]+\.[0-9] \(compatible; msie ([0-9]+\.[0-9]+)/, /mozilla\/[0-9]+\.[0-9] \(.+ rv:([0-9]+\.[0-9])\)/
309309
fp[:ua_name] = HttpClients::IE
310310
fp[:ua_ver] = $1
311311
else

0 commit comments

Comments
 (0)