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