, MySQL phpMyAdmin MySQL
password - oc_user phpMyAdmin, - password MySQL. Salt & Hashing MySQL . :
oc_user password & salt user_id
: d1c194daffb03fc2653027c87f76a12a4eaeac5f
: x3x6r693j
/ " password " ( ) . , , .
"". . OpenCart Admin (www.yourwebsitename.com/admin) .
: < >
:
user_id, :
update 'oc_user' set 'password' = sha1( concat('salt', sha1( concat('salt', sha1('password'))))) where user_id = 1
Explaination:
sha1($salt . sha1($salt . sha1($password)))
admin/model/user/user.php
SELECT SHA1( CONCAT( salt, SHA1( CONCAT( salt, SHA1( 'password' ) ) ) ) )
FROM oc_user
WHERE user_id =1
LIMIT 0 , 30
: d1c194daffb03fc2653027c87f76a12a4eaeac5f
:
$salt = substr(md5(uniqid(rand(), true)), 0, 9)
uniqid(), password_hash password_verify PHP-. MySQL
password_hash MD5 . md5 password_hash()
Tool: OpenCart 2. 0+ ,