haveibeenpwned-downloader 0.2.7

.NET 6.0
dotnet tool install --global haveibeenpwned-downloader --version 0.2.7
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local haveibeenpwned-downloader --version 0.2.7
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=haveibeenpwned-downloader&version=0.2.7
nuke :add-package haveibeenpwned-downloader --version 0.2.7

What is haveibeenpwned-downloader?

haveibeenpwned-downloader is a dotnet 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

Installation

Prerequisites

You'll need to install .NET 6 to be able to install the tool.

How to install

  1. Open a command line window
  2. Run dotnet tool install --global haveibeenpwned-downloader

Usage

Download all hashes to a single txt file called pwnedpasswords.txt

haveibeenpwned-downloader.exe pwnedpasswords

Download all hashes to individual txt files into a custom directory called hashes

haveibeenpwned-downloader.exe pwnedpasswords -s false

Additional parameters

Parameter Default value Description
-s/--single true Determines wether to download hashes to a single file or as individual .txt files into another directory
-p/--parallelism Same as Environment.ProcessorCount Determines how many hashes to download at a time
-o/--overwrite false Determines if output files should be overwritten or not

Additional usage examples

Download all hashes to individual txt files into a custom directory called hashes using 64 threads to download the hashes

haveibeenpwned-downloader.exe hashes -s false -p 64

Download all hashes to a single txt file called pwnedpasswords.txt using 64 threads, overwriting the file if it already exists

haveibeenpwned-downloader.exe pwnedpasswords -o -p 64

Product Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.2.7 241 5/19/2022
0.1.5 101 5/11/2022
0.1.4 81 5/11/2022
0.1.3 87 5/11/2022
0.1.2 85 5/11/2022
0.1.1 89 5/10/2022