This Python script downloads hash ranges from the Have I Been Pwned (HIBP) API and stores them in a single file. It also provides a real-time dashboard in the terminal, showing the progress of the download, current hash being downloaded, number of successful and failed downloads, and the download speed.
- Parallel Downloading: The script uses multithreading to download hash ranges in parallel, making the process faster.
- Real-time Dashboard: The terminal displays a dashboard that updates in real-time, showing progress, current hash, download statistics, and speed.
- Customizable Parameters: Easily modify the number of parallel threads and the output file location.
- Python 3.7 or higher
- Required Python packages:
requests
tqdm
-
Clone the Repository
git clone https://github.com/ptechofficial/hibp-python-downloader.git cd hibp-downloader
-
Install Dependencies
pip install -r requirements.txt
-
Run the script
python script.py