' ?> Password Hasher for PHP Shell <?php echo PHPSHELL_VERSION ?>

Password Hasher for PHP Shell

Username/Password
Result Enter a username and a password and update.


'; } else { $u = strtolower($username); if (!preg_match('/^[[:alpha:]][[:alnum:]]*$/', $u) || in_array($u, array('null','yes','no','true','false','on','off', 'none')) ) { echo <<Your username cannot be one of the following reserved words: 'null', 'yes', 'no', 'true', 'false', 'on', 'off', 'none'.
It can contain only letters and digits and must start with a letter.
Please choose another username and try again.

END; } else { echo "

Write the following line into config.php "; echo "in the [users] section:

\n"; if ( function_exists('sha1') ) { $fkt = 'sha1' ; } else { $fkt = 'md5' ; } ; $salt = dechex(mt_rand()); $hash = $fkt . ':' . $salt . ':' . $fkt($salt . $password); echo "
$u = "$hash"
\n"; } } ?>


Copyright © the Phpshell-team, please see AUTHORS. This is PHP Shell , get the latest version at http://phpshell.sourceforge.net/.