metasploit-framework icon indicating copy to clipboard operation
metasploit-framework copied to clipboard

add privileged for auxiliary scan and discovery

Open JLT032 opened this issue 4 months ago • 0 comments

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

JLT032 avatar Aug 21 '25 18:08 JLT032