Fix the comment as well
parent
bd0fd8195d
commit
4739affd54
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue