Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Nessus-Users
[Top] [All Lists]

ssh_get_info.nasl(12634), debian local checks, environment variables, an

Subject: ssh_get_info.nasl(12634), debian local checks, environment variables, and pread()
Date: Tue, 9 Aug 2005 10:58:17 -0400
Hello Everyone,

Found a problem in ssh_get_info.nasl(12634) when running local checks on debian.

Specifically line 311:
     buf = pread(cmd:"dpkg", argv:make_list("COLUMNS=160 dpkg", "-l") );

Note the attempt to set the environment variable in argv.

This is not working, so the dpkg output is at system default 80
columns, which is chopping off version numbers of many packages.
(which causes subsequent check failures)

Any ideas how to fix? Doesn't seem that nessus_popen4 has any ability
to set any environment variables.

In light of the inherent security risk of setting arbitrary environs,
perhaps a restricted subset of name/value patterns could be
implemented?

-anon
_______________________________________________
Nessus mailing list
Nessus@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus

<Prev in Thread] Current Thread [Next in Thread>