CLI tool for https://haveibeenpwned.com
Project description
Pwnage
Python based command line tool for checking the Have I Been Pwned database.
Table of Contents
Prerequisites
You'll need to have Python installed in order to run Pwnage
. Start by downloading and installing the latest version of Python 3.
Note:
Pwnage
has not been tested with Python 2 and will probably not work without changing some things.
Installation
pip install pwnage
Usage
pwnage --help
usage: pwnage [-h] [-a <account>] [-g] [-p <password>] [-r] [-v]
Checks passwords against the Have I Been Pwned database
https://haveibeenpwned.com
optional arguments:
-h, --help show this help message and exit
-a <account>, --account <account>
account to check against database
-g, --generate generate a random password that has not been
compromised
-p <password>, --password <password>
password to check against database
-r, --prompt prompt for pass to check against database
-v, --verbose verbose output, useful for debugging issues
optional arguments '-p/--password' and '-r/--prompt' cannot be used together
Checking an account
pwnage --account Zoidberg@freemail.web
Zoidberg@freemail.web has been pwned in these breaches:
Unverified: Collection1 on 2019-01-07. Details leaked: Email addresses, Passwords
Verified: VK on 2012-01-01. Details leaked: Email addresses, Names, Passwords, Phone numbers
Trying a bad password
pwnage --password Password1234
This password has been pwned 3621 times!
Trying a better password
pwnage --password "djf;hjdhfjk3;j4r436@@!"
This password has not been pwned yet.
Getting prompted for a password
pwnage --prompt
Password to check:
This password has been pwned 21961 times!
Generating a random password that gets checked against HIBP to make sure it has never been compromised
pwnage --generate
V@0l4uMOqXgtCidqU!'gqwlmfO0igcuM
License
This project is licensed under the MIT License - see the LICENSE file for details
Acknowledgments
- Troy Hunt for creating Have I Been Pwned
- Requests: HTTP for Humans
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pwnage-1.0.0.tar.gz
.
File metadata
- Download URL: pwnage-1.0.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afe0696461a664bf6929832b4b1c460dce760cf6bb3e07461d971b0a99e96606 |
|
MD5 | b526498f2fde1b8caac4389f4518d18c |
|
BLAKE2b-256 | 3688dea2b42e9bd89716fc5dedb87433ebfe735bd6be68b07e32071a24481154 |