Skip to content

Commit a42c7a8

Browse files
committed
Fix os detection
See rapid7#4283
1 parent 394d132 commit a42c7a8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/exploits/windows/browser/ie_setmousecapture_uaf.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,9 @@ def initialize(info={})
5454
'BrowserRequirements' =>
5555
{
5656
:source => /script/i,
57-
:os_name => OperatingSystems::WINDOWS,
57+
:os_name => 'Windows 7',
5858
:ua_name => HttpClients::IE,
5959
:ua_ver => "9.0",
60-
:os_flavor => "7",
6160
:office => /2007|2010/
6261
},
6362
'Targets' =>

0 commit comments

Comments
 (0)