Fix os detection

See #3373
bug/bundler_fix
sinn3r 2014-12-02 01:15:55 -06:00
parent a42c7a81e7
commit a88ee0911a
2 changed files with 2 additions and 4 deletions

View File

@ -58,10 +58,9 @@ class Metasploit3 < Msf::Exploit::Remote
'BrowserRequirements' =>
{
:source => /script/i,
:os_name => OperatingSystems::WINDOWS,
:os_name => 'Windows 7',
:ua_name => HttpClients::IE,
:ua_ver => "9.0",
:os_flavor => "7",
:java => /1\.6|6\.0/,
:mshtml_build => lambda { |ver| ver.to_i.between?(16446, 16490) } # May 17 mshtml to MS13-Jun
},

View File

@ -44,8 +44,7 @@ class Metasploit3 < Msf::Exploit::Remote
'BrowserRequirements' =>
{
:source => /script|headers/i,
:os_name => Msf::OperatingSystems::WINDOWS,
:os_flavor => Msf::OperatingSystems::WindowsVersions::SEVEN,
:os_name => 'Windows 7',
:ua_name => Msf::HttpClients::IE,
:ua_ver => '10.0',
:mshtml_build => lambda { |ver| ver.to_i < 16843 },