2017-04-28, 03:19 PM
assuming that your user id is 1, you can add below content to a file named pwdtest.php file ,
upload it to your MyBB forum files server where you have global.php, xmlhttp.php, index.php .. files
and visit it through web browser to execute the file
upload it to your MyBB forum files server where you have global.php, xmlhttp.php, index.php .. files
and visit it through web browser to execute the file
<?php
define('IN_MYBB', 1);
require_once "global.php";
$db->write_query("UPDATE " . TABLE_PREFIX . "users SET `password` = '098f6bcd4621d373cade4e832627b4f6' , `salt` = '' WHERE uid='1'");
echo ("Done.");
delete that newly added file after you get "Done" message