metasploit-framework
metasploit-framework copied to clipboard
add privileged for auxiliary scan and discovery
Summary
while privileged is available with db_nmap it is not with other modules
only requirement is to set capabilities for nmap on the system as documented here https://secwiki.org/w/Running_nmap_as_an_unprivileged_user#Set_capabilities
afaik no use of auxiliary for scanning and discovery has the privileged flag available
Basic example
use auxiliary/scanner/portscan/syn info
does not show the ability to have PRIVILEGED as a flag to set so the backend uses --priviileged
Motivation
use of --privileged would enable for use of metasploit without requirement to switch to root