https://github.com/607011/hibpdl
Fast and multi-threaded downloader for ';--have i been pwned? SHA1 password hashes.
https://github.com/607011/hibpdl
cplusplus cplusplus-20 downloader hash hashes haveibeenpwned passwords pwned-api pwned-passwords pwnedpasswords security sha1 sha1-hash
Last synced: 4 months ago
JSON representation
Fast and multi-threaded downloader for ';--have i been pwned? SHA1 password hashes.
- Host: GitHub
- URL: https://github.com/607011/hibpdl
- Owner: 607011
- License: mit
- Created: 2023-04-29T11:12:38.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-21T17:26:25.000Z (about 2 years ago)
- Last Synced: 2024-12-28T13:33:02.662Z (6 months ago)
- Topics: cplusplus, cplusplus-20, downloader, hash, hashes, haveibeenpwned, passwords, pwned-api, pwned-passwords, pwnedpasswords, security, sha1, sha1-hash
- Language: C++
- Homepage:
- Size: 68.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HIBPDL++
**Fast, multi-threaded downloader for _';--have i been pwned?_ password hashes**
**HIBPDL++** retrieves all available SHA1 password hashes accessible through the [haveibeenpwned.com](https://haveibeenpwned.com/) API. It converts them into a binary format so that each hash allocates 20 bytes (plus 4 bytes for a number (big-endian) that states how many times the hash was found in leaked password/hash lists).
## Prerequisites
- Git
- CMake ≥ 3.16
- OpenSSL libraries ≥ 1.1.1t### Windows
```
winget install Git.Git
winget install Kitware.CMake
winget install ShiningLight.OpenSSL
```### macOS
```
brew install openssl git cmake ninja
```### Linux (Ubuntu)
```
sudo apt install libssl3 libssl-dev git cmake ninja-build
```## Build
### macOS
```bash
git clone https://github.com/607011/hibpdl.git hibpdl++
mkdir -p hibpdl++/build
cd hibpdl++/build
git submodule init
git submodule update
cmake -DCMAKE_BUILD_TYPE=Release -G Ninja -DOPENSSL_ROOT_DIR=/opt/homebrew/Cellar/openssl@3/3.1.0 ..
cmake --build .
strip hibpdl
```### Linux (Ubuntu)
```bash
git clone https://github.com/607011/hibpdl.git hibpdl++
mkdir -p hibpdl++/build
cd hibpdl++/build
git submodule init
git submodule update
cmake -DCMAKE_BUILD_TYPE=Release -G Ninja ..
cmake --build .
strip hibpdl
```### Windows 11
In Visual Studio Developer Command Prompt:
```bash
git clone https://github.com/607011/hibpdl.git hibpdl++
cd hibpdl++
md build
cd build
git submodule init
git submodule update
cmake -DOPENSSL_ROOT_DIR="C:\Program Files\OpenSSL-Win64" ..
cmake --build . --config Release
```## Usage
See `hibpdl --help`.
## License
See [LICENSE](LICENSE).
## Copyright
Copyright (c) 2023 Oliver Lau