Skip to content

Instantly share code, notes, and snippets.

@ircykk
Created April 19, 2018 14:54
Show Gist options
  • Save ircykk/24fb699ac03e3d86791264ac2aa623c6 to your computer and use it in GitHub Desktop.
Save ircykk/24fb699ac03e3d86791264ac2aa623c6 to your computer and use it in GitHub Desktop.
PrestaShop reset admin password
<?php
require(dirname(__FILE__).'/config/config.inc.php');
Db::getInstance()->Execute(
'UPDATE`'._DB_PREFIX_.'employee` SET `passwd` = "'.md5(_COOKIE_KEY_.'12345678').'"'
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment