I would like to call Nmap from PHP.
IF I do that :
exec('nmap', $output);
var_dump( $output );
It works, I get the classic "Usage of Nmap" text.
But as soon as I tried to run an UDP check like
exec('nmap -p 586 -sU xx.xx.xx.xx', $output);
var_dump( $output );
It don't work anymore, with no output.
What am I missing?
Regards