In order to get the plugins that relied upon gather-package-list to run
against CentOs 6 boxes, I had to add a test for CentOS 6... here is a
diff for the NVT feed if anyone has the same problem...
122a123
> "CENTOS6", "cpe:/o:centos:centos:6",
557c558,565
< #CentOS release 3.4 (final)
---
> #CentOS release 3.4 (final)
> if("CentOS release 6" >< rls) {
> buf = ssh_cmd(socket:sock, cmd:"/bin/rpm -qa --qf
'%{NAME}~%{VERSION}~%{RELEASE};'");
> set_kb_item(name: "ssh/login/rpms", value: ";" + buf);
> log_message(port:port, data:string("We are able to login and
detect that you are running CentOS release 6"));
> register_detected_os(os:"CentOS release 6", oskey:"CentOS6");
> exit(0);
> }
Cheers,
Tom
_______________________________________________
Openvas-plugins mailing list
[email protected]
http://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-plugins