portscanner.php : system « Utility Function « PHP






portscanner.php

 
<?php

   $target = "www.example.com";
   echo "<pre>";
   system("/usr/bin/nmap $target");
   echo "</pre>";

   system("killall -q nmap");

?>
  
  








Related examples in the same category

1.Calling the man Command
2.Output man page
3.pingserver.php