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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Sat Oct 17 23:21:27 CEST 2009


Author: reinke
Date: 2009-10-17 23:21:18 +0200 (Sat, 17 Oct 2009)
New Revision: 5588

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-17 12:38:00 UTC (rev 5587)
+++ trunk/openvas-plugins/ChangeLog	2009-10-17 21:21:18 UTC (rev 5588)
@@ -1,3 +1,7 @@
+2009-10-13  Thomas Reinke <reinke at securityspace.com>
+	* scripts/gather-package-list.nasl:
+	Updated to support Mandriva Enterprise 5.0
+
 2009-10-16  Chandan S <schandan at secpod.com>
 
 	* scripts/secpod_ms09-050-remote.nasl:

Modified: trunk/openvas-plugins/scripts/gather-package-list.nasl
===================================================================
--- trunk/openvas-plugins/scripts/gather-package-list.nasl	2009-10-17 12:38:00 UTC (rev 5587)
+++ trunk/openvas-plugins/scripts/gather-package-list.nasl	2009-10-17 21:21:18 UTC (rev 5588)
@@ -205,6 +205,13 @@
     exit(0);
 }
 
+if("Mandriva Linux Enterprise Server release 5.0" >< rls) {
+    set_kb_item(name: "ssh/login/release", value: "MNDK_mes5");
+    buf = ssh_cmd(socket:sock, cmd:"/bin/rpm -qa --qf '%{NAME}~%{VERSION}~%{RELEASE};'");
+    set_kb_item(name: "ssh/login/rpms", value: ";" + buf);
+    security_note(port:port, data:string("We are able to login and detect that you are running ", rls));
+    exit(0);
+}
 if("Mandriva Linux release 2009.1" >< rls) {
     set_kb_item(name: "ssh/login/release", value: "MNDK_2009.1");
     buf = ssh_cmd(socket:sock, cmd:"/bin/rpm -qa --qf '%{NAME}~%{VERSION}~%{RELEASE};'");



More information about the Openvas-commits mailing list