First thing I did was pull up phpMyAdmin to look at the database for LinPHA. Checking on the linpha_users table, the password was coded as
Code: Select all
21232f297a57a5a743894a0e4a801fc3
Code: Select all
if ($_POST['user_name']==$result['nickname'] && md5($_POST['user_pass'])==$result['password'])
Code: Select all
if ( 1==1 )
Next, log into LinPHA with admin/amahiadmin again, changed the password to amahiadmin, then logged back out.
Reverted the code in verify.php back to it's original state, and was successful in logging into the program with the amahiadmin password.
Checking linpha_users table again in phpMyAdmin shows that the password is now
Code: Select all
cf47429cfddec09bb37c2401a23679be