[Openvas-commits] r11715 - in trunk/openvas-plugins: . scripts
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Sep 29 15:09:22 CEST 2011
Author: mwiegand
Date: 2011-09-29 15:09:16 +0200 (Thu, 29 Sep 2011)
New Revision: 11715
Modified:
trunk/openvas-plugins/ChangeLog
trunk/openvas-plugins/scripts/gather-package-list.nasl
trunk/openvas-plugins/scripts/slad_fetch_results.nasl
trunk/openvas-plugins/scripts/slad_run.nasl
Log:
* scripts/gather-package-list.nasl, scripts/slad_fetch_results.nasl,
scripts/slad_run.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 12:46:21 UTC (rev 11714)
+++ trunk/openvas-plugins/ChangeLog 2011-09-29 13:09:16 UTC (rev 11715)
@@ -1,3 +1,9 @@
+2011-09-29 Michael Wiegand <michael.wiegand at greenbone.net>
+
+ * scripts/gather-package-list.nasl, scripts/slad_fetch_results.nasl,
+ scripts/slad_run.nasl: Exit silently if we can't connect to the target
+ (like unauthenticated scans).
+
2011-09-29 Henri Doreau <henri.doreau at greenbone.net>
* scripts/gather-hardware-info.nasl: Exit silently if we can't connect
Modified: trunk/openvas-plugins/scripts/gather-package-list.nasl
===================================================================
--- trunk/openvas-plugins/scripts/gather-package-list.nasl 2011-09-29 12:46:21 UTC (rev 11714)
+++ trunk/openvas-plugins/scripts/gather-package-list.nasl 2011-09-29 13:09:16 UTC (rev 11715)
@@ -75,8 +75,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);
}
Modified: trunk/openvas-plugins/scripts/slad_fetch_results.nasl
===================================================================
--- trunk/openvas-plugins/scripts/slad_fetch_results.nasl 2011-09-29 12:46:21 UTC (rev 11714)
+++ trunk/openvas-plugins/scripts/slad_fetch_results.nasl 2011-09-29 13:09:16 UTC (rev 11715)
@@ -69,8 +69,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);
}
Modified: trunk/openvas-plugins/scripts/slad_run.nasl
===================================================================
--- trunk/openvas-plugins/scripts/slad_run.nasl 2011-09-29 12:46:21 UTC (rev 11714)
+++ trunk/openvas-plugins/scripts/slad_run.nasl 2011-09-29 13:09:16 UTC (rev 11715)
@@ -73,8 +73,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);
}
run_slad (sock: sock, slad_exe: "/opt/slad/bin/sladd");
More information about the Openvas-commits
mailing list