Hello,
I've spend some time with gather-packages-list.nasl and I think it could
be improved in some ways:
* In case a "/etc/debian_version" is found on the target system, but
the contents is not matched, then a confusing note is issued
"System identifier unknown: "', uname, ' ..."
So, the uname. Allthough it is already clear that it is a Debian.
This could allow for short-cuts, avoiding unecessary comparisons.
* Instead of e.g.
rls = ssh_cmd(socket:sock, cmd:"cat /etc/debian_version");
wouldn't it be better to apply
rls = ssh_cmd(socket:sock, cmd:"[ -f /etc/debian_version ] && cat
/etc/debian_version")
and then check for empty strings to avoid unnecessary comparisons?
* For DSA's there quite formal elements like
For the testing (lenny) distribution these problems have been fixed in
version 1.8.2.dfsg-3+lenny1.
For the unstable (sid) distribution these problems have been fixed in version
1.8.2.dfsg-4.
It would be absolutely great if these tests could be added as many people
use "almost-stable" releases already in production mode.
Sid-Support would be great as well.
Any thoughts?
Best
Jan
--
Dr. Jan-Oliver Wagner | ++49-541-335 08 30 | http://www.intevation.de/
Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
_______________________________________________
Openvas-plugins mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-plugins