Am Donnerstag, 18. November 2010 06:30:13 schrieb [email protected]: > Author: chandra > Date: 2010-11-18 06:30:08 +0100 (Thu, 18 Nov 2010) > New Revision: 9434 > > Modified: > trunk/openvas-plugins/scripts/gather-package-list.nasl > > Modified: trunk/openvas-plugins/scripts/gather-package-list.nasl > =================================================================== > --- trunk/openvas-plugins/scripts/gather-package-list.nasl 2010-11-17 > 19:01:22 UTC (rev 9433) +++ > trunk/openvas-plugins/scripts/gather-package-list.nasl 2010-11-18 > 05:30:08 > @@ -476,7 +480,20 @@ > exit(0); > } > > +if("DISTRIB_ID=Ubuntu"><rls && "DISTRIB_RELEASE=10.10"><rls) > +{ > + set_kb_item(name: "ssh/login/release", value: "UBUNTU10.10 LTS"); > + buf = ssh_cmd(socket:sock, cmd:"COLUMNS=200 dpkg -l"); > + if(!isnull(buf)) > + { > + 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 10.10 LTS")); + exit(0);
Just a quick note: There is no Ubuntu 10.10 LTS. 10.04 was LTS, while 10.10 is not. The next LTS release will probably be 12.04. So the KB item and the note should read "10.10" instead of "10.10 LTS". Regards, Michael -- Michael Wiegand | Greenbone Networks GmbH | http://www.greenbone.net/ Neuer Graben 17, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460 Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner _______________________________________________ Openvas-plugins mailing list [email protected] http://lists.wald.intevation.org/mailman/listinfo/openvas-plugins
