Looks like UBuntu 15.04 support is missing from gather-packages-nasl.


--- gather-package-list.nasl 2015-09-08 15:43:33.091052759 +0200

+++ gather-package-list.nasl.new 2015-09-14 16:21:47.847609179 +0200

@@ -189,6 +189,7 @@

     "UBUNTU13.10",    "cpe:/o:canonical:ubuntu_linux:13.10",

     "UBUNTU14.04 LTS","cpe:/o:canonical:ubuntu_linux:14.04:-:lts",

     "UBUNTU14.10",    "cpe:/o:canonical:ubuntu_linux:14.10",

+    "UBUNTU15.04",    "cpe:/o:canonical:ubuntu_linux:15.04",



     # Connectiva Linux

     "CL9",  "cpe:/a:connectiva:linux:9.0",

@@ -1201,6 +1202,19 @@

   }

 }



+if("DISTRIB_ID=Ubuntu"><rls && "DISTRIB_RELEASE=15.04"><rls) {

+  buf = ssh_cmd(socket:sock, cmd:"COLUMNS=300 dpkg -l");

+  if(!isnull(buf))

+  {

+    set_kb_item(name: "ssh/login/packages", value:buf);

+    log_message(port:port, data:string("We are able to login and detect
that you are running Ubuntu 15.04"));

+    register_detected_os(os:"Ubuntu 15.04", oskey:"UBUNTU15.04");

+    exit(0);

+  }

+}

+

+

+

 # Check for Univention Corporate Server (UCS)

 if ('DISTRIB_ID=\"Univention\"' >< rls) {

         ucs_release = eregmatch(string:rls,
pattern:'DISTRIB_RELEASE="([1-9][0-9]*[.][0-9]+)-([0-9]+)
errata([0-9]+)[^"]*"');
_______________________________________________
Openvas-plugins mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-plugins

Reply via email to