i have used for checking password for user with id=0 :
$myuserfile=io_user_open('0');
$myusermask=io_user_mask_init(UINFO_PASSWORD);
$mypassword=io_user_query($myuserfile,$myusermask) ;
$myfilecontent = io_user_print($myuserfile);
$mypassword is different from password in $myfilecontent :
for "print_r($mypassword)" the result is :
Array ( [0] => ff6661ffffff3532ffff01ffff1b130cffff30ff )
for "print($myfilecontent)" the result is :
wkup ................ password 826661e7f1903532becf01dcff1b130ce6fe30c2 ........... admingroups
Why some bit of real sha1 pass replaced with f ?
Thanks for help.
|