3 /* Example for password "czISc.fWfjsQQ" ("admin"):
4 * $salt = ("cz"); //First two characters of password
5 * $hash = ("ISc.fWfjsQQ"); //Rest of password
9 $salt = ("cz"); //First two characters of password
10 $hash = ("ISc.fWfjsQQ"); //Rest of password
11 $pass = ("admin"); //Debug only (Contains known password)
13 //////////////////////////////////////////////////////////////////////////////
16 function readline($prompt="") {
23 $c = fread(STDIN
, "1");
24 if ($c == "\n") { // && ($c == "\r") //May be later on oher systems
42 //$try = $pass; //Debug only
43 $crypt = crypt($try, $salt);
44 if ( $crypt == ($salt.$hash) ) {
45 echo ("\nSalt: $salt\nHash: $hash\nPass: $try\n\n");
This page took 1.511281 seconds and 4 git commands to generate.