Cách đổi password user từ phpmyadmin forum Xenforo

4.6/5 - (493 votes)

Code mysql đổi password cho user xenforo:
UPDATE xf_user_authenticate
SET data = BINARY
CONCAT(
CONCAT(
CONCAT('a:3:{s:4:"hash";s:40:"', SHA1(CONCAT(SHA1('@DaylaPassword@'), SHA1('salt')))),
CONCAT('";s:4:"salt";s:40:"', SHA1('salt'))
),
'";s:8:"hashFunc";s:4:"sha1";}'
),
scheme_class = 'XenForo_Authentication_Core'
WHERE user_id = 3;

Các bạn có thể thay đổi user khác bằng cách thay đổi thông số user_id = 3 và thay đổi password khác bằng cách thay đổi thông số @DaylaPassword@

Bạn cần hỗ trợ? hãy liên hệ Admin

Leave a Reply

Your email address will not be published. Required fields are marked *