arpscan
arpscan copied to clipboard
sudo not really implemented
Hi,
Command built with suspawn is like : sudo -- sh -c "arp-scan -l ..."
Rules added in sudoers file, to avoid typing password, can't obviously be effective my_user ALL=(root) NOPASSWD: /usr/bin/arp-scan
Method using chmod u+s /usr/bin/arp-scan, is not "upgrade compliant" Granting access with NOPASSWD to sh is totallly unsafe
Do you have a workaround ?
Regards F.
spawn("sudo",["/usr/sbin/arp-scan","-I","iface_name"...]