Clone of the official HIBP passwords downloader written in Go. This program allows users to download the whole HIBP passwords database.
Download the latest version from the releases page.
On Linux/macOS
./hibp-passwords-downloader [outputFileOrFolder]
On Windows
hibp-passwords-downloader.exe [outputFileOrFolder]
outputFileOrFolder: The name of the output file or folder where the downloaded files will be stored.
Flag | Shorthand | Default | Description |
---|---|---|---|
parallelism | -p | 4 * CPU cores | The number of parallel requests to send to Have I Been Pwned to download the hash ranges. Has a maximum of 64. |
overwrite | -o | false | When set, overwrites any existing files while writing the results. |
single | -s | false | When set, writes the hash ranges into a single .txt file. Otherwise, downloads ranges to individual files into a subfolder. |
ntlm | -n | false | When set, fetches NTLM hashes instead of SHA1. |
resume | -r | false | Resumes download. Skips already downloaded files. |
./hibp-passwords-downloader -s pwnedpasswords.txt
./hibp-passwords-downloader pwnd
./hibp-passwords-downloader -n pwnedpasswords_ntlm.txt
You need to have Go, GoReleaser and Task installed on your machine.
After installing the prerequisites, clone this repository locally using the following command:
git clone https://github.com/ralscha/hibp-passwords-downloader.git
Once you have cloned the repository, navigate to the directory and build it:
cd hibp-passwords-downloader
task build