Skip to content

Instantly share code, notes, and snippets.

View weltregie's full-sized avatar

Welt Regie weltregie

  • Berlin, Germany
View GitHub Profile
@weltregie
weltregie / Get-AmIPwned.ps1
Created January 18, 2019 10:11 — forked from lzybkr/Get-AmIPwned.ps1
Script to query passwords reported to haveibeenpwned.com
<#
.SYNOPSIS
Reports if your password is pwned by querying haveibeenpwned.com
.DESCRIPTION
Query haveibeenpwned.com to see if a password has appeared in a breach.
The query sends the first 5 characters of the SHA1 hash, so the query should be considered safe and anonymous.