Nmap Development mailing list archives
Privilege checks in broadcast-* scripts
From: Henri Doreau <henri.doreau () greenbone net>
Date: Fri, 13 Jan 2012 14:34:55 +0100
Hello, I've had trouble with broadcast-listener.nse, that doesn't check for privileges before attempting to open pcap readers, leading to verbose errors. I have patched the script to add a nmap.is_privileged() check (as done by other scripts) in the prerule. I've also modified broadcast-pppoe-discover.nse and broadcast-dhcp-discover.nse for consistency sake. For the two last scripts, I haven't removed the checks which are performed in the action code. Should I? or should I add such a redundant check to broadcast-listener.nse instead? 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:
- Privilege checks in broadcast-* scripts Henri Doreau (Jan 13)
- Re: Privilege checks in broadcast-* scripts Patrik Karlsson (Jan 13)
- Re: Privilege checks in broadcast-* scripts Henri Doreau (Jan 13)
- Re: Privilege checks in broadcast-* scripts Henri Doreau (Jan 13)
- Re: Privilege checks in broadcast-* scripts Patrik Karlsson (Jan 13)
- Re: Privilege checks in broadcast-* scripts Henri Doreau (Jan 13)
- Re: Privilege checks in broadcast-* scripts Patrik Karlsson (Jan 14)
- Re: Privilege checks in broadcast-* scripts Henri Doreau (Jan 14)
- Re: Privilege checks in broadcast-* scripts Kris Katterjohn (Jan 14)
- Re: Privilege checks in broadcast-* scripts Patrik Karlsson (Jan 15)
- Re: Privilege checks in broadcast-* scripts Kris Katterjohn (Jan 15)
- Re: Privilege checks in broadcast-* scripts Henri Doreau (Jan 13)
- Re: Privilege checks in broadcast-* scripts Patrik Karlsson (Jan 13)