Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 875 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 875 Bytes

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-v8.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"

To run the script in interactive mode without displaying plain passwords:

python binary_search.py -i

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