An open API service indexing awesome lists of open source software.

https://github.com/divineomega/php-password-cracker

PHP package to crack passwords
https://github.com/divineomega/php-password-cracker

password password-cracker php security

Last synced: 11 months ago
JSON representation

PHP package to crack passwords

Awesome Lists containing this project

README

          

# PHP Password Cracker
PHP package to crack passwords

## Installation

```bash
composer require divineomega/php-password-cracker
```

## Usage

```php
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;

```