Skip to content
/ hibpdl Public

Fast and multi-threaded downloader for ';--have i been pwned? SHA1 password hashes.

License

Notifications You must be signed in to change notification settings

607011/hibpdl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HIBPDL++

Fast, multi-threaded downloader for ';--have i been pwned? password hashes

HIBPDL++ retrieves all available SHA1 password hashes accessible through the 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

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)

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:

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.

Copyright

Copyright (c) 2023 Oliver Lau