From 9d56e58e8450a60ea5ea56a0dabb512496915a8c Mon Sep 17 00:00:00 2001 From: James Lee Date: Wed, 17 Jul 2013 15:46:54 -0500 Subject: [PATCH] Rely on object detection for '5716599' [SeeRM #7252] --- lib/rex/exploitation/javascriptosdetect.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/rex/exploitation/javascriptosdetect.js b/lib/rex/exploitation/javascriptosdetect.js index 3b62f66230..0957960375 100644 --- a/lib/rex/exploitation/javascriptosdetect.js +++ b/lib/rex/exploitation/javascriptosdetect.js @@ -712,9 +712,13 @@ window.os_detect.getVersion = function(){ os_sp = "SP2"; break; case "5716599": + // IE 7.0.5730.13, XP Professional SP3 English // IE 6.0.2900.5512, XP Professional SP3 English // IE 6.0.2900.5512, XP Professional SP3 Spanish - ua_version = "6.0"; + // + // Since this scriptengine applies to more than one major version of + // IE, rely on the object detection below to determine ua_version. + //ua_version = "6.0"; os_flavor = "XP"; os_sp = "SP3"; break;