[Openvas-commits] r6129 - in trunk/openvas-plugins: . scripts
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Sat Dec 12 12:23:26 CET 2009
Author: mime
Date: 2009-12-12 12:23:23 +0100 (Sat, 12 Dec 2009)
New Revision: 6129
Modified:
trunk/openvas-plugins/ChangeLog
trunk/openvas-plugins/scripts/ePo_detect.nasl
Log:
Set version to "unknown" in KB if version could not be fetched.
Modified: trunk/openvas-plugins/ChangeLog
===================================================================
--- trunk/openvas-plugins/ChangeLog 2009-12-11 14:40:56 UTC (rev 6128)
+++ trunk/openvas-plugins/ChangeLog 2009-12-12 11:23:23 UTC (rev 6129)
@@ -1,3 +1,9 @@
+2009-12-12 Michael Meyer <michael.meyer at intevation.de>
+
+ * scripts/ePo_detect.nasl:
+ Set version to "unknown" in KB if version could not
+ be fetched.
+
2009-12-11 Thomas Reinke <reinke at securityspace.com>
* scripts/{many} - description formatting fix.
Modified: trunk/openvas-plugins/scripts/ePo_detect.nasl
===================================================================
--- trunk/openvas-plugins/scripts/ePo_detect.nasl 2009-12-11 14:40:56 UTC (rev 6128)
+++ trunk/openvas-plugins/scripts/ePo_detect.nasl 2009-12-12 11:23:23 UTC (rev 6129)
@@ -113,7 +113,9 @@
if(!isnull(vers)) {
info += string("ClientVersion: ", vers, "\n");
set_kb_item(name: string("www/", port, "/ePoAgent/Version"), value: vers);
- }
+ } else {
+ set_kb_item(name: string("www/", port, "/ePoAgent/Version"), value: string("unknown"));
+ }
if(!isnull(rserver)) {
info += string("Repository-Server: ", rserver, "\n");
More information about the Openvas-commits
mailing list