Crates.io | haveibeenpwned-downloader |
lib.rs | haveibeenpwned-downloader |
version | 0.1.0 |
source | src |
created_at | 2024-06-30 08:32:19.16876 |
updated_at | 2024-06-30 08:32:19.16876 |
description | cli tool to download leaked password hashes from haveibeenpwned api. |
homepage | |
repository | https://github.com/alisa101rs/haveibeenpwned-downloader |
max_upload_size | |
id | 1287849 |
size | 67,024 |
Inspired by https://github.com/HaveIBeenPwned/PwnedPasswordsDownloader
haveibeenpwned-downloader is a cli tool to download all Pwned Passwords hash ranges and save them offline so they can be used without a dependency on the k-anonymity API.
With cargo:
cargo install haveibeenpwned-downloader
Or just grab a release from release page.
Usage: haveibeenpwned-downloader [OPTIONS]
Options:
-o, --output <OUTPUT> Output of the program, can be stdout, or file [default: -]
-f, --format <FORMAT> Output format, can be text or binary. Only affects `file` output [default: text] [possible values: text, binary]
-s, --sorted Whether output should be sorted
-h, --help Print help
-V, --version Print version
haveibeenpwned-downloader -o pwnedpasswords.txt
haveibeenpwned-downloader -f binary -o pwnedpasswords.txt
haveibeenpwned-downloader -s -o -
Binary output format writes file that is just a sequence of items, where each item is:
0 20 28
|------------------------|-----------------|
| password sha1 hash | prevalence |
|------------------------|-----------------|