portscanner.php : system « Utility Function « PHP
- PHP
- Utility Function
- system
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