divineomega/php-password-cracker

PHP package to crack passwords

Fund package maintenance!
DivineOmega

Installs: 48

Dependents: 1

Suggesters: 0

Security: 0

Stars: 6

Watchers: 2

Forks: 2

Open Issues: 0

pkg:composer/divineomega/php-password-cracker

v1.1.0 2020-02-20 23:43 UTC

This package is auto-updated.

Last update: 2025-09-22 08:18:48 UTC


README

PHP package to crack passwords

Installation

composer require divineomega/php-password-cracker

Usage

use DivineOmega\PasswordCracker\Crackers\DictionaryCracker;

$hash = password_hash('secret', PASSWORD_BCRYPT);

$password = (new DictionaryCracker())->crack($hash);

/*
$password = (new DictionaryCracker())->crack($hash, function($passwordBeingChecked) {
    echo 'Checking password '.$passwordBeingChecked.'...'.PHP_EOL;
});
*/

echo 'Password found: '.$password.PHP_EOL;