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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Sep 29 14:46:26 CEST 2011


Author: hdoreau
Date: 2011-09-29 14:46:21 +0200 (Thu, 29 Sep 2011)
New Revision: 11714

Modified:
   trunk/openvas-plugins/ChangeLog
   trunk/openvas-plugins/scripts/gather-hardware-info.nasl
Log:
* scripts/gather-hardware-info.nasl: Exit silently if we can't connect
to the target (like unauthenticated scans).


Modified: trunk/openvas-plugins/ChangeLog
===================================================================
--- trunk/openvas-plugins/ChangeLog	2011-09-29 11:17:07 UTC (rev 11713)
+++ trunk/openvas-plugins/ChangeLog	2011-09-29 12:46:21 UTC (rev 11714)
@@ -1,3 +1,8 @@
+2011-09-29  Henri Doreau <henri.doreau at greenbone.net>
+
+	* scripts/gather-hardware-info.nasl: Exit silently if we can't connect
+	to the target (like unauthenticated scans).
+
 2011-09-29  Michael Meyer <michael.meyer at greenbone.net>
 
 	* scripts/gb_my_news_49818.nasl,

Modified: trunk/openvas-plugins/scripts/gather-hardware-info.nasl
===================================================================
--- trunk/openvas-plugins/scripts/gather-hardware-info.nasl	2011-09-29 11:17:07 UTC (rev 11713)
+++ trunk/openvas-plugins/scripts/gather-hardware-info.nasl	2011-09-29 12:46:21 UTC (rev 11714)
@@ -77,8 +77,6 @@
 
 sock = ssh_login_or_reuse_connection();
 if(!sock) {
-    # Send "error" as set by ssh_funcs.
-    log_message(port:port, data:get_ssh_error());
     exit(0);
 }
 



More information about the Openvas-commits mailing list