Skip to content
Search the password list from haveibeenpwned.com locally
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md Finished script (works with python2 and python3) Jan 21, 2019
binary_search.py

README.md

HaveIBeenPwnedOffline

Search the password list from haveibeenpwned.com locally

Usage

Download the SHA-1 file (orderered by hash) from https://haveibeenpwned.com/Passwords. This file you download is a 12 GB 7zip file which contains a 25GB txt file.

Place it in the same folder as binary_search.py. Currently it should be named pwned-passwords-sha1-ordered-by-hash-v4.txt. If it has this name you do not need to supply a filename for the script to search in.

After that run the python script. It accepts a list of passwords as params. On Ubuntu it would look like this:

python binary_search.py "paSsword" "anotherSecurePassw0rd"

If the password contains characters which could be encoded differently with different encodings

You can’t perform that action at this time.