[Openvas-commits] r6123 - in trunk/openvas-plugins: . scripts
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Dec 10 14:27:52 CET 2009
Author: mime
Date: 2009-12-10 14:27:47 +0100 (Thu, 10 Dec 2009)
New Revision: 6123
Modified:
trunk/openvas-plugins/ChangeLog
trunk/openvas-plugins/scripts/remote-detect-Opentaps_ERP_CRM.nasl
Log:
Added new plugin. Fixed FP
Modified: trunk/openvas-plugins/ChangeLog
===================================================================
--- trunk/openvas-plugins/ChangeLog 2009-12-10 11:39:26 UTC (rev 6122)
+++ trunk/openvas-plugins/ChangeLog 2009-12-10 13:27:47 UTC (rev 6123)
@@ -1,3 +1,11 @@
+2009-12-10 Michael Meyer <michael.meyer at intevation.de>
+
+ * scripts/JBoss_enterprise_aplication_server_detect.nasl:
+ Added new plugin.
+
+ * scripts/remote-detect-Opentaps_ERP_CRM.nasl:
+ Fixed FP.
+
2009-12-09 Thomas Reinke <reinke at securityspace.com>
* scripts/deb_1942_1.nasl,
Modified: trunk/openvas-plugins/scripts/remote-detect-Opentaps_ERP_CRM.nasl
===================================================================
--- trunk/openvas-plugins/scripts/remote-detect-Opentaps_ERP_CRM.nasl 2009-12-10 11:39:26 UTC (rev 6122)
+++ trunk/openvas-plugins/scripts/remote-detect-Opentaps_ERP_CRM.nasl 2009-12-10 13:27:47 UTC (rev 6123)
@@ -82,7 +82,8 @@
softwareReply = http_send_recv(port:thePort, data:softwareRequest);
versionReply = http_send_recv(port:thePort, data:versionRequest);
-
+if(versionReply =~ "^HTTP/1.[0-1]+ 404")exit(0);
+
if(softwareReply){
servletContainer = eregmatch(pattern:"Server: Apache-Coyote/([0-9.]+)",string:softwareReply, icase:TRUE);
@@ -93,8 +94,12 @@
report += " The remote host is running " + opentapsTitlePattern[1];
replace_kb_item(name:"OpentapsERP/installed", value:TRUE);
replace_kb_item(name:"OpentapsERP/port", value:thePort);
- }
- }
+ } else {
+ exit(0);
+ }
+ } else {
+ exit(0);
+ }
if((servletContainer)){
replace_kb_item(name:"ApacheCoyote/installed", value:TRUE);
@@ -114,7 +119,9 @@
replace_kb_item(name:"OpentapsERP/installed", value:TRUE);
replace_kb_item(name:"OpentapsERP/version", value:version[2]);
replace_kb_item(name:"OpentapsERP/port", value:thePort);
- }
+ } else {
+ exit(0);
+ }
if((servletContainer)){
replace_kb_item(name:"ApacheCoyote/installed", value:TRUE);
More information about the Openvas-commits
mailing list