I want to scan from my PHP script, which enters the terminal of my Linux computer. I installed the arp-scanner and tried the following index.php file:
<?php
echo shell_exec("sudo arp-scan -l");
?>
When I enter the IP address in the browser, nothing happens. What am I missing?
Thanks in advance~
M.