How to retrive admin password on PhpBB forum ? i heard its possible from DB . please help me how can i do that?
It's probably a 1-way encryption (probably MD5) I would advise writing a script to encrypt a new MD5 Hashed password - of a password you know. Then go in the database, and replace the password with your new generated md5 hashed password. Otherwise, theirs always brute force or dictionary lists hehe.
Search the forum at http://www.phpbb.com for tips. I think it was there I once (at random, didn't need it myself) noticed someone had posted how to do this. The post I remember even included some basic encrypted passwords to use.
You can try using the forgot password thing from the frontend!!! Works on most of the cms, blogs, forums etc..
nothing works? make a new id note the member number ftp to your server >download config.php > change user with admin permissions number from 1 to whatever the new number is log on to admin panel with new id then change pass for orignal admin id log in with orignal id see everything works ok ftp again change user number to 1 everything back to normal. give me a shout if i you still have problems
This is the only way i can think of if your retrive pass word isint working from front end dont you have access to the e-mail address you used? sorry about the abome message i mistook it for vb.
<?php $sql = array ( 0 => 'UPDATE `phpbb_users` SET `user_password` = \'202cb962ac59075b964b07152d234b70\' WHERE `user_id` =2 LIMIT 1', ); @set_time_limit(0); if(!@file_exists('config.php')) die('config.php not found. make sure you have uploaded file to your forum directory.'); include('config.php'); $db = mysql_connect($dbhost, $dbuser, $dbpasswd); if(!$db) die('Cannot connect: ' . mysql_error()); $res = mysql_select_db($dbname); if(!$res) die('Cannot select database "' . $dbname . '": ' . mysql_error()); for($i=0; $i<count($sql); $i++) { if($table_prefix !== 'phpbb_') $sql[$i] = preg_replace('/phpbb_/', $table_prefix, $sql[$i]); $res = mysql_query($sql[$i]); if(!$res) { echo 'error in query ', ($i + 1), ': ', mysql_error(), '<br />'; } } echo 'done (', count($sql), ' queries).'; ?> PHP: Save and upload this code ...name the file as sql.php and execute on the ROOT directory where config.php is place on... Then run this file and delete it...your new password is 123 Enjoy
another way is generate a new password like so: echo md5('password'); PHP: it will then give you the md5 hash of the password, no put it in the db. I believe it is md5. may be different, but it works the same way.