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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Mar 28 05:57:09 CEST 2011


Author: reinke
Date: 2011-03-28 05:57:03 +0200 (Mon, 28 Mar 2011)
New Revision: 10639

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


Modified: trunk/openvas-plugins/ChangeLog
===================================================================
--- trunk/openvas-plugins/ChangeLog	2011-03-27 19:45:08 UTC (rev 10638)
+++ trunk/openvas-plugins/ChangeLog	2011-03-28 03:57:03 UTC (rev 10639)
@@ -1,3 +1,7 @@
+2011-03-27 Thomas Reinke <reinke at securityspace.com>
+
+	* scripts/gather-package-list.nasl: Updated to support DEB6.0 lsc
+
 2011-03-27  Jan-Oliver Wagner <jan-oliver.wagner at greenbone.net>
 
 	* COPYING.GPLv2: Updated with new FSF Address and added

Modified: trunk/openvas-plugins/scripts/gather-package-list.nasl
===================================================================
--- trunk/openvas-plugins/scripts/gather-package-list.nasl	2011-03-27 19:45:08 UTC (rev 10638)
+++ trunk/openvas-plugins/scripts/gather-package-list.nasl	2011-03-28 03:57:03 UTC (rev 10639)
@@ -699,6 +699,13 @@
     register_detected_os(os:"Debian 5.0 (Lenny)");
     exit(0);
 }
+if("6.0"><rls) {
+    set_kb_item(name: "ssh/login/release", value: "DEB6.0");
+    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 Debian 6.0 (Squeeze)"));
+    exit(0);
+}
 
 
 # How about Slackware?



More information about the Openvas-commits mailing list