isAdmin()) { echo 'insufficient privileges'; } else { $cmd = $config['nmap']." $host"; } break; }//end switch if (!empty($cmd)) { $output = `$cmd`; } }//end if }//end if $output = htmlentities(trim($output), ENT_QUOTES); echo "
$output
";