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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Oct 30 04:33:51 CET 2009


Author: reinke
Date: 2009-10-30 04:33:45 +0100 (Fri, 30 Oct 2009)
New Revision: 5759

Modified:
   trunk/openvas-plugins/ChangeLog
   trunk/openvas-plugins/scripts/gather-package-list.nasl
Log:


Modified: trunk/openvas-plugins/ChangeLog
===================================================================
--- trunk/openvas-plugins/ChangeLog	2009-10-29 19:37:57 UTC (rev 5758)
+++ trunk/openvas-plugins/ChangeLog	2009-10-30 03:33:45 UTC (rev 5759)
@@ -1,3 +1,7 @@
+2009-10-29  Thomas Reinke <reinke at securityspace.com>
+	* scripts/gather-package-list.nasl
+	Update for Ubuntu 9.10 support
+
 2009-10-29 Michael Meyer <michael.meyer at intevation.de>
 
 	* scripts/base_detect.nasl,

Modified: trunk/openvas-plugins/scripts/gather-package-list.nasl
===================================================================
--- trunk/openvas-plugins/scripts/gather-package-list.nasl	2009-10-29 19:37:57 UTC (rev 5758)
+++ trunk/openvas-plugins/scripts/gather-package-list.nasl	2009-10-30 03:33:45 UTC (rev 5759)
@@ -425,6 +425,13 @@
     security_note(port:port, data:string("We are able to login and detect that you are running Ubuntu 9.04"));
     exit(0);
 }
+if("DISTRIB_ID=Ubuntu"><rls && "DISTRIB_RELEASE=9.10"><rls) {
+    set_kb_item(name: "ssh/login/release", value: "UBUNTU9.10");
+    buf = ssh_cmd(socket:sock, cmd:"COLUMNS=200 dpkg -l");
+    set_kb_item(name: "ssh/login/packages", value:buf);
+    security_note(port:port, data:string("We are able to login and detect that you are running Ubuntu 9.10"));
+    exit(0);
+}
 
 # How about Conectiva Linux?
 rls = ssh_cmd(socket:sock, cmd:"cat /etc/conectiva-release");



More information about the Openvas-commits mailing list