[Openvas-commits] r11576 - in trunk/openvas-plugins: . scripts

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Sep 6 18:33:27 CEST 2011


Author: mime
Date: 2011-09-06 18:33:19 +0200 (Tue, 06 Sep 2011)
New Revision: 11576

Modified:
   trunk/openvas-plugins/ChangeLog
   trunk/openvas-plugins/scripts/gb_apache_tomcat_detect.nasl
Log:
Added port to security_note().

Modified: trunk/openvas-plugins/ChangeLog
===================================================================
--- trunk/openvas-plugins/ChangeLog	2011-09-06 14:37:47 UTC (rev 11575)
+++ trunk/openvas-plugins/ChangeLog	2011-09-06 16:33:19 UTC (rev 11576)
@@ -1,6 +1,11 @@
 2011-09-06  Michael Meyer <michael.meyer at greenbone.net>
 
-	* cripts/default_ssh_credentials.nasl,
+	* scripts/gb_apache_tomcat_detect.nasl:
+	Added port to security_note().
+
+2011-09-06  Michael Meyer <michael.meyer at greenbone.net>
+
+	* scripts/default_ssh_credentials.nasl,
 	scripts/default_http_auth_credentials.nasl:
 	Added new plugins.
 

Modified: trunk/openvas-plugins/scripts/gb_apache_tomcat_detect.nasl
===================================================================
--- trunk/openvas-plugins/scripts/gb_apache_tomcat_detect.nasl	2011-09-06 14:37:47 UTC (rev 11575)
+++ trunk/openvas-plugins/scripts/gb_apache_tomcat_detect.nasl	2011-09-06 16:33:19 UTC (rev 11576)
@@ -84,8 +84,7 @@
 if("Apache Tomcat" >< tomcatVer[0] && tomcatVer[2] != NULL)
 {
   set_kb_item(name:"www/" + port + "/ApacheTomcat", value:tomcatVer[2]);
-  security_note(data:"Apache Tomcat version " + tomcatVer[2] + " was detected" + 
-                     " on the host");
+  security_note(port:port, data:"Apache Tomcat version " + tomcatVer[2] + " was detected" + " on the host");
 }
 
 



More information about the Openvas-commits mailing list