I need to get all mac Addresses from my network-card. So i use nmap from Debian, combined with PHP.
But, without root privilege, this only gives me the IP address and status from a target. With root privilege, i get IP, status, and adresse MAC.
How i can execute this command (or a script.sh
with nmap inside), with root privilege and without do a "cracked server" (like ALL=NOPASSWD
)