Мартин Петров | 15.10.2021 02:58:07 | 153

Смяна на админ парола / Prestashop 1.7 / през mysql (забравен администратор)


grep "'cookie_key'" app/config/parameters.php 'cookie_key' => '9za9dj7PjItOpgfMTz7dVAoE4rX0s0GcedADKDN5Oh7cUBAdqysrv6wGVXyyqk9C', UPDATE `ps_employee` SET `passwd` = MD5('COOKIE_KEY + PASSWORD ') WHERE `ps_employee`.`id_employee` = 1; MariaDB [dev]> UPDATE `ps_employee` SET `passwd` = MD5('9za9dj7PjItOpgfMTz7dVAoE4rX0s0GcedADKDN5Oh7cUBAdqysrv6wGVXyyqk9CPAROLATA') WHERE `ps_employee`.`id_employee` = 1;

Прочети цялата публикация