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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Sep 12 14:36:29 CEST 2011


Author: mime
Date: 2011-09-12 14:36:19 +0200 (Mon, 12 Sep 2011)
New Revision: 11600

Modified:
   trunk/openvas-plugins/ChangeLog
   trunk/openvas-plugins/scripts/os_fingerprint.nasl
Log:
Removed my last patch. Doesn't work as expected.

Modified: trunk/openvas-plugins/ChangeLog
===================================================================
--- trunk/openvas-plugins/ChangeLog	2011-09-12 12:32:12 UTC (rev 11599)
+++ trunk/openvas-plugins/ChangeLog	2011-09-12 12:36:19 UTC (rev 11600)
@@ -1,3 +1,8 @@
+2011-09-12  Michael Meyer <michael.meyer at greenbone.net>
+
+	* scripts/os_fingerprint.nasl:
+	Removed my last patch. Doesn't work as expected.
+
 2011-09-12  Henri Doreau <henri.doreau at greenbone.net>
 
 	* scripts/nmap.nasl: Fixed OS detection reporting.

Modified: trunk/openvas-plugins/scripts/os_fingerprint.nasl
===================================================================
--- trunk/openvas-plugins/scripts/os_fingerprint.nasl	2011-09-12 12:32:12 UTC (rev 11599)
+++ trunk/openvas-plugins/scripts/os_fingerprint.nasl	2011-09-12 12:36:19 UTC (rev 11600)
@@ -904,8 +904,6 @@
 ostitle = '';
 report = string('ICMP based OS fingerprint results: (', best_score, '% confidence)\n');
 
-if( max_index( best_os ) > 0 ) {
-
   foreach ostitle (keys(best_os)) {
       register_host_detail(name:"OS", value:ostitle, nvt:"1.3.6.1.4.1.25623.1.0.102002",
           desc:"Detects remote operating system version");
@@ -915,7 +913,6 @@
 
       report = report + '\n' + ostitle;
   }
-}
 
 set_kb_item(name:"Host/OS/ICMP", value:ostitle);
 set_kb_item(name:"Host/OS/ICMP/Confidence", value:best_score);



More information about the Openvas-commits mailing list