Permalink
Browse files

Add compatibility for Vista SP2 from troulouliou

  • Loading branch information...
1 parent 4987acc commit bd0fd8195d487c0bbb74433591ead342a33ce31f HD Moore committed Jun 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 modules/exploits/windows/browser/ms12_037_same_id.rb
@@ -69,7 +69,7 @@ def initialize(info={})
}
],
[
- 'IE 8 on Windows 7 SP1 with JRE ROP',
+ 'IE 8 on Windows 7 SP1/Vista SP2 with JRE ROP',
{
'Rop' => :jre,
'RopOffset' => '0x5f4',
@@ -95,7 +95,7 @@ def get_target(agent)
if agent =~ /NT 5\.1/ and agent =~ /MSIE 8\.0/
#Windows XP SP3 + IE 8.0
return targets[1]
- elsif agent =~ /NT 6\.1/ and agent =~ /MSIE 8\.0/
+ elsif agent =~ /NT 6\.[01]/ and agent =~ /MSIE 8\.0/
#Windows 7 SP1 + IE 8.0
return targets[3]
else

0 comments on commit bd0fd81

Please sign in to comment.