Nmap Development mailing list archives

Re: Privilege checks in broadcast-* scripts


From: Henri Doreau <henri.doreau () greenbone net>
Date: Fri, 13 Jan 2012 15:07:23 +0100

2012/1/13 Henri Doreau <henri.doreau () greenbone net>:
I would suggest that we perform the checks in the prerules, and make
them display the "<script> not running for lack of privileges."
message, for consistency.

Patch attached. I don't have any strong opinion about the privilege
check which is in the pppoe library though.

Regards.

-- 
Henri

Attachment: nse_priv_checks.diff
Description:

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

Current thread: