View Single Post
Old 09-15-2005, 02:51 AM  
Jog
Member
 
Join Date: Jul 2003
Posts: 83
Default

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.
Jog is offline   Reply With Quote