Nmap Development mailing list archives

Re: Privilege checks in broadcast-* scripts


From: Patrik Karlsson <patrik () cqure net>
Date: Sat, 14 Jan 2012 18:17:34 +0100

On Fri, Jan 13, 2012 at 3:24 PM, Henri Doreau <henri.doreau () greenbone net>wrote:

2012/1/13 Patrik Karlsson <patrik () cqure net>:
Looks good to me, please commit it.

Thanks, committed as r27813.

--
Henri


While implementing another script today I saw one drawback of having this
check in the prerule.
I would personally prefer the script to return the error as a script result
rather than having to run nmap in verbose/debug mode to find out that it's
"silently" failing due to permission issues. What do you think?

Cheers,
Patrik
-- 
Patrik Karlsson
http://www.cqure.net
http://twitter.com/nevdull77
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: