Skip to content

Commit 4022056

Browse files
author
Tod Beardsley
committed
Land rapid7#4292, remove os_flavor usage.
2 parents bd3d63a + a88ee09 commit 4022056

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
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' =>

modules/exploits/windows/browser/ms13_059_cflatmarkuppointer.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,9 @@ def initialize(info={})
5858
'BrowserRequirements' =>
5959
{
6060
:source => /script/i,
61-
:os_name => OperatingSystems::WINDOWS,
61+
:os_name => 'Windows 7',
6262
:ua_name => HttpClients::IE,
6363
:ua_ver => "9.0",
64-
:os_flavor => "7",
6564
:java => /1\.6|6\.0/,
6665
:mshtml_build => lambda { |ver| ver.to_i.between?(16446, 16490) } # May 17 mshtml to MS13-Jun
6766
},

modules/exploits/windows/browser/ms14_012_cmarkup_uaf.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ def initialize(info={})
4444
'BrowserRequirements' =>
4545
{
4646
:source => /script|headers/i,
47-
:os_name => Msf::OperatingSystems::WINDOWS,
48-
:os_flavor => Msf::OperatingSystems::WindowsVersions::SEVEN,
47+
:os_name => 'Windows 7',
4948
:ua_name => Msf::HttpClients::IE,
5049
:ua_ver => '10.0',
5150
:mshtml_build => lambda { |ver| ver.to_i < 16843 },

0 commit comments

Comments
 (0)