arpscan icon indicating copy to clipboard operation
arpscan copied to clipboard

sudo not really implemented

Open cleoo opened this issue 6 years ago • 1 comments

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.

cleoo avatar Jan 14 '19 19:01 cleoo

spawn("sudo",["/usr/sbin/arp-scan","-I","iface_name"...]

zxfrank avatar Feb 24 '21 23:02 zxfrank