Skip to content

Commit 9d56e58

Browse files
committed
Rely on object detection for '5716599'
[SeeRM rapid7#7252]
1 parent 034e0b6 commit 9d56e58

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/rex/exploitation/javascriptosdetect.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,9 +712,13 @@ window.os_detect.getVersion = function(){
712712
os_sp = "SP2";
713713
break;
714714
case "5716599":
715+
// IE 7.0.5730.13, XP Professional SP3 English
715716
// IE 6.0.2900.5512, XP Professional SP3 English
716717
// IE 6.0.2900.5512, XP Professional SP3 Spanish
717-
ua_version = "6.0";
718+
//
719+
// Since this scriptengine applies to more than one major version of
720+
// IE, rely on the object detection below to determine ua_version.
721+
//ua_version = "6.0";
718722
os_flavor = "XP";
719723
os_sp = "SP3";
720724
break;

0 commit comments

Comments
 (0)