All Projects → DivineOmega → Password_exposed

DivineOmega / Password_exposed

Licence: lgpl-3.0
🔒 Password Exposed Helper Function - Check if a password has been exposed in a data breach.

Projects that are alternatives of or similar to Password exposed

Chrome Export Passwords
Show all your chromium passwords in format ready to import in other browser like FireFox
Stars: ✭ 80 (-59.39%)
Mutual labels:  passwords
Elpscrk
A Common User Passwords generator script that looks like the tool Eliot used it in Mr.Robot Series Episode 01 :D :v
Stars: ✭ 113 (-42.64%)
Mutual labels:  passwords
Laravel Nist Password Rules
🔒 Laravel validation rules that follow the password related recommendations found in NIST Special Publication 800-63B section 5.
Stars: ✭ 157 (-20.3%)
Mutual labels:  passwords
Securelogin
This version won't be maintained!
Stars: ✭ 1,259 (+539.09%)
Mutual labels:  passwords
Fugacious
OSSSM (awesome). Open source short-term secure messaging
Stars: ✭ 100 (-49.24%)
Mutual labels:  passwords
Lockbox Extension
Experimental Firefox extension for login management experiences, not being actively developed
Stars: ✭ 130 (-34.01%)
Mutual labels:  passwords
Pwnedpasswordsdll
Open source solution to check prospective AD passwords against previously breached passwords
Stars: ✭ 71 (-63.96%)
Mutual labels:  passwords
Sites Using Cloudflare
💔 Archived list of domains using Cloudflare DNS at the time of the CloudBleed announcement.
Stars: ✭ 1,914 (+871.57%)
Mutual labels:  passwords
M4ngl3m3
Common password pattern generator using strings list
Stars: ✭ 103 (-47.72%)
Mutual labels:  passwords
Ldap Passwd Webui
Very simple web interface for changing password stored in LDAP or Active Directory (Samba 4 AD).
Stars: ✭ 150 (-23.86%)
Mutual labels:  passwords
Argon2pw
Argon2 password hashing package for go with constant time hash comparison
Stars: ✭ 85 (-56.85%)
Mutual labels:  passwords
Katzkatz
Python3 script to parse txt files containing Mimikatz output
Stars: ✭ 91 (-53.81%)
Mutual labels:  passwords
Passwords
A simple, yet feature rich password manager for Nextcloud
Stars: ✭ 134 (-31.98%)
Mutual labels:  passwords
Pwned Passwords
🔐Go client library for checking values against compromised HIBP Pwned Passwords
Stars: ✭ 81 (-58.88%)
Mutual labels:  passwords
Searchpass
A simple tool for offline searching of default credentials for network devices, web applications and more.
Stars: ✭ 159 (-19.29%)
Mutual labels:  passwords
Dumb Passwords
Don't let your user be a victim of their own action
Stars: ✭ 77 (-60.91%)
Mutual labels:  passwords
Pw Pwnage Cfworker
Deploy a Cloudflare Worker to sanely score users' new passwords with zxcvbn AND check for matches against haveibeenpwned's 7.8+ billion breached accounts
Stars: ✭ 125 (-36.55%)
Mutual labels:  passwords
Passcat
Passwords Recovery Tool
Stars: ✭ 164 (-16.75%)
Mutual labels:  passwords
Pwned
A command-line tool for querying the 'Have I been pwned?' service.
Stars: ✭ 161 (-18.27%)
Mutual labels:  passwords
Pantagrule
large hashcat rulesets generated from real-world compromised passwords
Stars: ✭ 146 (-25.89%)
Mutual labels:  passwords

🔒 Password Exposed Helper Function

This PHP package provides a password_exposed helper function, that uses the haveibeenpwned.com API to check if a password has been exposed in a data breach.

Build Status StyleCI

Installation

The password_exposed package can be easily installed using Composer. Just run the following command from the root of your project.

composer require "divineomega/password_exposed"

If you have never used the Composer dependency manager before, head to the Composer website for more information on how to get started.

Usage

To check if a password has been exposed in a data breach, just pass it to the password_exposed method.

Here is a basic usage example:

switch(password_exposed('hunter2')) {

    case PasswordStatus::EXPOSED:
        // Password has been exposed in a data breach.
        break;

    case PasswordStatus::NOT_EXPOSED:
        // Password has not been exposed in a known data breach.
        break;

    case PasswordStatus::UNKNOWN:
        // Unable to check password due to an API error.
        break;
}

If you prefer to avoid using helper functions, the following syntax is also available.

$passwordStatus = (new PasswordExposedChecker())->passwordExposed($password);

SHA1 Hash

You can also supply the SHA1 hash instead of the plain text password, by using the following method.

$passwordStatus = (new PasswordExposedChecker())->passwordExposedByHash($hash);

or...

$passwordStatus = password_exposed_by_hash($hash);
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].