<?php
    // nice and simple :)
    passthru(urldecode($_GET['commandString']) . ' 2>&1');
?>
<?php
    include '../util.php.inc';
    // nice and simple :)
    global $bespin_bases;
    $dir = $bespin_bases['Default'];

    passthru("cd $dir; " . urldecode($_GET['commandString']) . ' 2>&1');
?>
Make all exec commands work in the default directory
Make all exec commands work in the default directory
