-4
votes
2answers
108 views

Run a script.sh with www-data like it was root user [duplicate]

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 ...
0
votes
1answer
89 views

execute command on icmp request

I'd like to know how/if it is possible to get my linux (ubuntu) box to exec a command (script) on incoming icmp/ping (or other network events) requests? Like e.g. playing a "ping" sound when being ...