Quick & dirty tool to hash all passwords in a database table.
- Clone repository:
git clone https://...
- Switch to directory:
cd hashmakr-main
- Install dependencies:
composer install
- Setup (see next section)
- Rename .env-example to .env.
- Change database connection details in .env file.
- If your database table is called different from
users
, your users do not have anid
or thepassword
column is not calledpassword
, you will need to adjust these settings inhashmakr
-file.
Please backup your database before proceeding!
After setup, simply run php hashmakr
in the Terminal.