HaveIBeenPwned

3.2

Identify Pwned accounts and passwords via the "Have I Been Pwned?" (https://haveibeenpwned.com/) API.

Use of some of these functions requires an API key.  This module does not come with an API key.
An API key can be obtained from https://haveibeenpwned.com/API/Key

Minimum PowerShell version

3.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name HaveIBeenPwned

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name HaveIBeenPwned

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2022 Mark Ukotic. All rights reserved.

Package Details

Author(s)

  • Mark Ukotic

Tags

HaveIBeenPwned Pwned password HIPB Security

Functions

Get-PwnedAccount Get-PwnedBreach Get-PwnedDataClass Get-PwnedPassword Get-PwnedPasteAccount

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

3.2
Added additional response fields when using CSV in Get-PwnedAccount
Get-PwnedAccount now using PSCustomObject        
3.1
Implemented Add-Padding header to Get-PwnedPassword with default true         
3.0.1
Minor update to CSV rate-limiting (thanks to @JordanJenkinson)
3.0
Updated to use the HIBP v3 API which now requires authorisation        
1.4.1
Parameter additions for better usability
1.4
Rewrite of catch handling to work with both Windows PowerShell and PowerShell Core
Added CSV import ability into Get-PwnedAccount         
1.3.1
Switched to MailAddress Class for email address validation in Get-PwnedAccount
1.3
Added UserAgent string in Get-PwnedAccount to work with Have I Been Pwned v2 API        
1.2.1
Fixed Get-PwnedPassword to work with PowerShell Core        
1.2.0
Update Get-PwnedPassword to use K-anonymity only (contribution by @plaintextcity)         
1.1.0
'Email address not found.' now returned as an object rather than a string
1.0.0
Initial Publish

FileList

Version History

Version Downloads Last updated
3.2 (current version) 8,110 8/9/2022
3.1 1,069 3/9/2020
3.0.1 220 10/23/2019
3.0 396 10/5/2019
1.4.2 276 6/28/2019
1.4 124 5/24/2019
1.3.1 225 3/13/2019
1.3 388 1/19/2019
1.2.1 451 5/8/2018
1.2 92 5/3/2018
1.1 189 10/17/2017
1.0 211 9/30/2017
Show more