Fix the comment as well

unstable
HD Moore 2012-06-18 19:57:48 -05:00
parent bd0fd8195d
commit 4739affd54
1 changed files with 3 additions and 2 deletions

View File

@ -93,10 +93,11 @@ class Metasploit3 < Msf::Exploit::Remote
return target if target.name != 'Automatic'
if agent =~ /NT 5\.1/ and agent =~ /MSIE 8\.0/
#Windows XP SP3 + IE 8.0
# Windows XP SP3 + IE 8.0
return targets[1]
elsif agent =~ /NT 6\.[01]/ and agent =~ /MSIE 8\.0/
#Windows 7 SP1 + IE 8.0
# Windows 7 SP1 + IE 8.0
# Vista SP2 + IE 8.0
return targets[3]
else
return nil