[Openvas-commits] r11701 - in trunk/openvas-plugins: . scripts
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Sep 27 15:50:56 CEST 2011
Author: hdoreau
Date: 2011-09-27 15:50:49 +0200 (Tue, 27 Sep 2011)
New Revision: 11701
Modified:
trunk/openvas-plugins/ChangeLog
trunk/openvas-plugins/scripts/secpod_ms_win_media_player_detect_900173.nasl
Log:
* scripts/secpod_ms_win_media_player_detect_900173.nasl: Don't
register the CPE there. The value read from the registry lead to an
invalid CPE.
Modified: trunk/openvas-plugins/ChangeLog
===================================================================
--- trunk/openvas-plugins/ChangeLog 2011-09-27 12:53:03 UTC (rev 11700)
+++ trunk/openvas-plugins/ChangeLog 2011-09-27 13:50:49 UTC (rev 11701)
@@ -1,3 +1,9 @@
+2011-09-27 Henri Doreau <henri.doreau at greenbone.net>
+
+ * scripts/secpod_ms_win_media_player_detect_900173.nasl: Don't
+ register the CPE there. The value read from the registry lead to an
+ invalid CPE.
+
2011-09-27 Michael Meyer <michael.meyer at greenbone.net>
* scripts/avaya_switches.nasl,
Modified: trunk/openvas-plugins/scripts/secpod_ms_win_media_player_detect_900173.nasl
===================================================================
--- trunk/openvas-plugins/scripts/secpod_ms_win_media_player_detect_900173.nasl 2011-09-27 12:53:03 UTC (rev 11700)
+++ trunk/openvas-plugins/scripts/secpod_ms_win_media_player_detect_900173.nasl 2011-09-27 13:50:49 UTC (rev 11701)
@@ -51,9 +51,6 @@
include("cpe.inc");
include("host_details.inc");
-## Constant values
-SCRIPT_OID = "1.3.6.1.4.1.25623.1.0.900173";
-SCRIPT_DESC = "Microsoft Windows Media Player Version Detection";
if(!get_kb_item("SMB/WindowsVersion")){
exit(0);
@@ -80,9 +77,4 @@
set_kb_item(name:"Win/MediaPlayer/Ver", value:wmpVer);
security_note(data:"Microsoft Windows Media Player version " + wmpVer +
" was detected on the host");
-
-## build cpe and store it as host_detail
-cpe = build_cpe(value:wmpVer, exp:"^([0-9.]+)", base:"cpe:/a:microsoft:windows_media_player:");
-if(!isnull(cpe))
- register_host_detail(name:"App", value:cpe, nvt:SCRIPT_OID, desc:SCRIPT_DESC);
More information about the Openvas-commits
mailing list