# 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.
# Install
Install from [PyPi](https://pypi.org/project/pwndck/)
# Usage
$ pwndck.py -h
usage: pwndck [-h] [-q] [password]
Report # of password hits in HaveIBeenPwned
positional arguments:
password The password to check
options:
-h, --help show this help message and exit
-q, --quiet Suppress output
Evaluate a password against 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.
The command returns with an error code if the password is
found in the database.
See https://haveibeenpwned.com/API/v3#PwnedPasswords
Raw data
{
"_id": null,
"home_page": null,
"name": "pwndck",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "passwords, security, breach, haveibeenpwned",
"author": "David Steele",
"author_email": "dsteele@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/c8/6e/2034ac68c7c00efb4f2c1edb577ac2d496ada444041ed962cfd3bfb4cbbb/pwndck-0.2.tar.gz",
"platform": null,
"description": "# pwndck\n\nCheck the the HaveIBeenPwned password database to see if a particular password\nhas been compromised.\n\nIt uses the [haveibeenpwned API](https://haveibeenpwned.com/API/v3#PwnedPasswords)\nfor the check:\n * This use does not require an API key. Anyone can run it.\n * This is more secure than the [web page tool](https://haveibeenpwned.com/Passwords).\n your password is not exposed beyond your local machine.\n * It returns the number of times the password occurs in the database.\n\n# Install\nInstall from [PyPi](https://pypi.org/project/pwndck/)\n\n# Usage\n\n $ pwndck.py -h\n usage: pwndck [-h] [-q] [password]\n \n Report # of password hits in HaveIBeenPwned\n \n positional arguments:\n password The password to check\n \n options:\n -h, --help show this help message and exit\n -q, --quiet Suppress output\n \n Evaluate a password against the HaveIBeenPwned password\n database, and return the number of accounts for which it has\n been reported as compromised. If the password is not specified\n on the command line, the user will be prompted.\n \n The command returns with an error code if the password is\n found in the database.\n \n See https://haveibeenpwned.com/API/v3#PwnedPasswords\n\n",
"bugtrack_url": null,
"license": null,
"summary": "Check for leaked passwords in HaveIBeenPwned.",
"version": "0.2",
"project_urls": {
"Changelog": "https://github.com/davesteele/pwndck/blob/main/CHANGELOG.md",
"Homepage": "https://github.com/davesteele/pwndck",
"Issues": "https://github.com/davesteele/pwndck/issues",
"Source": "https://github.com/davesteele/pwndck.git"
},
"split_keywords": [
"passwords",
" security",
" breach",
" haveibeenpwned"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "e43318556b4686f340b3e69ad381be5d8b5cb2d46f1e464a668528983a99a5e5",
"md5": "7f0aa9f2725ddf22a0c52360121db376",
"sha256": "fe272244d31dcd0fc1c51f82446cd6482ed245dec773bd3f50ad8a40bb6650b5"
},
"downloads": -1,
"filename": "pwndck-0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7f0aa9f2725ddf22a0c52360121db376",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 10665,
"upload_time": "2025-10-25T03:46:04",
"upload_time_iso_8601": "2025-10-25T03:46:04.868304Z",
"url": "https://files.pythonhosted.org/packages/e4/33/18556b4686f340b3e69ad381be5d8b5cb2d46f1e464a668528983a99a5e5/pwndck-0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "c86e2034ac68c7c00efb4f2c1edb577ac2d496ada444041ed962cfd3bfb4cbbb",
"md5": "3ef689a4da6a2c14744a2dcfb805492b",
"sha256": "e20dae517a2cb000aa8628de0a217b21dff2426cef20d7308730c44b0cf2afd6"
},
"downloads": -1,
"filename": "pwndck-0.2.tar.gz",
"has_sig": false,
"md5_digest": "3ef689a4da6a2c14744a2dcfb805492b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 9446,
"upload_time": "2025-10-25T03:46:05",
"upload_time_iso_8601": "2025-10-25T03:46:05.932257Z",
"url": "https://files.pythonhosted.org/packages/c8/6e/2034ac68c7c00efb4f2c1edb577ac2d496ada444041ed962cfd3bfb4cbbb/pwndck-0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-25 03:46:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "davesteele",
"github_project": "pwndck",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "pwndck"
}