mirror of
https://github.com/nmap/nmap.git
synced 2025-12-26 09:29:01 +00:00
Give a better error message "requires root privileges" when trying to run a raw
scan on Windows with --unprivileged. Previously Nmap assumed that the only way o.isr00t could be false on Windows was if pcap functions were not available, so the user would get the false message "requires that WinPcap version 3.1 or higher...". NmapOps now has a state variable have_pcap so the meaning of isr00t isn't overloaded.
This commit is contained in:
Reference in New Issue
Block a user