Python script to check against have i been pwned API v3
This script requires no extra modules Get data on one or many emails (through a file, one email per line)
Usage: ./hibp_check.py --breach|--paste -e [email protected]| -f /path/to/file
Requires an API key from ';--have i been pwned?
Keys and the reason why can be obtained here: https://haveibeenpwned.com/API/Key
Comments and cleanup always welcome!
-
better argument handling
-
better data handling
- provide output options past > .txt