Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/joomla/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
访问Joomla中的管理员帐户_Joomla - Fatal编程技术网

访问Joomla中的管理员帐户

访问Joomla中的管理员帐户,joomla,Joomla,如果我没有管理员帐户的密码,我可以访问Joomla网站的管理员帐户吗?我拥有服务器上的所有权限。请让我知道你的建议和意见 密码存储在MySQL数据库jos_users表密码字段中。(如果表前缀不同,请更改此值) 使用MySQL实用程序(如phpMyAdmin或MySQL查询浏览器)编辑此字段。 打开表,找到管理员用户名,然后选择该行进行编辑。 密码必须是散列的(MD5),您不能简单地在此字段中输入文本 将密码设置为已知值,例如: -管理员=21232f297a57a5a743894a0e4a80

如果我没有管理员帐户的密码,我可以访问Joomla网站的管理员帐户吗?我拥有服务器上的所有权限。请让我知道你的建议和意见

密码存储在MySQL数据库jos_users表密码字段中。(如果表前缀不同,请更改此值)

使用MySQL实用程序(如phpMyAdmin或MySQL查询浏览器)编辑此字段。 打开表,找到管理员用户名,然后选择该行进行编辑。 密码必须是散列的(MD5),您不能简单地在此字段中输入文本

将密码设置为已知值,例如: -管理员=21232f297a57a5a743894a0e4a801fc3


来源:

管理员密码您可以在{DB_PREFIX}用户中找到它,密码是散列的(MD5)

嗯,它比这个稍微复杂一点,散列的形式类似于{hashedpassword}:{hashedsalt},hashedspassword是由md5(password.hashedsalt)形成的

所以你可以制作一个小脚本来回显一个新密码

<?php
   $psw = 'hashedpassword:hashedsalt';    // you copy the entry from the db here
   $newpassword = 'newpassword';   // your new password
   list($hashedpassword, $hashedsalt) = explode(":", $psw);
   $newpsw = md5($newpassword.$hashedsalt);
   $output = $newpsw.":".$hashedsalt;
   echo $output; // this is what you put in the db
?>

这有帮助吗: