https://github.com/davesteele/pwndck
Check a password against the HaveIBeenPwned password leak database
https://github.com/davesteele/pwndck
Last synced: 3 months ago
JSON representation
Check a password against the HaveIBeenPwned password leak database
- Host: GitHub
- URL: https://github.com/davesteele/pwndck
- Owner: davesteele
- License: gpl-2.0
- Created: 2025-09-19T00:00:46.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-10-02T20:04:24.000Z (3 months ago)
- Last Synced: 2025-10-02T22:07:54.522Z (3 months ago)
- Language: Python
- Size: 15.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pwndck
Check the the HaveIBeenPwned password database to see if a particular password
has been compromised.
It uses the [haveibeenpwned API](https://haveibeenpwned.com/API/v3#PwnedPasswords)
for the check:
* This use does not require an API key. Anyone can run it.
* This is more secure than the [web page tool](https://haveibeenpwned.com/Passwords).
your password is not exposed beyond your local machine.
* It returns the number of times the password occurs in the database.
# Usage
$ pwndck.py -h
usage: pwndck.py [-h] [password]
Report # of password hits in HaveIBeenPwned
positional arguments:
password The password to check
options:
-h, --help show this help message and exit
Evaluate a password agains the HaveIBeenPwned password database,
and return the number of accounts for which it has been reported
as compromised. If the password is not specified on the command
line, the user will be prompted.
See https://haveibeenpwned.com/API/v3#PwnedPasswords