Porter scanner : System Command « Development « PHP
- PHP
- Development
- System Command
Porter scanner
<?php
$target = "www.java2s.com";
echo "<pre>";
system("/usr/bin/nmap $target");
echo "</pre>";
// Kill the task
system("killall -q nmap");
?>
Related examples in the same category