Check if your password has been pwned using awesome ';--have i been pwned? API.

Piotr Czajkowski 28bb9ff292 Added .dSYM 6 years ago
win edaacef231 Added certs 6 years ago
.gitignore 28bb9ff292 Added .dSYM 6 years ago
LICENSE.md 6dfd4df247 Initial commit 6 years ago
README.md 4c1ed8f341 Formatting again 6 years ago
curl.c 2ee448a8d7 Fix 6 years ago
curl.h 39b4e0f5b0 Don't need it there 6 years ago
makefile 3589cb76ac Added option for windows 6 years ago
pwned.c 7d7cd17018 More descriptive messages 6 years ago
sha.c 6dfd4df247 Initial commit 6 years ago
sha.h 6dfd4df247 Initial commit 6 years ago

README.md

Pwned Password

Fun project to utilize awesome ';--have i been pwned? Passwords API. It generates SHA1 hash for the password you provide as an argument and then grabs the range of hashes, basing on first 5 characters of the hash, from the service and checks if your hash is among them. So your password, nor its hash, never leaves your computer.

Usage is simple:

./pwned <password>

It'll print "This is how many times your password was pwned:" and a number if your password is in ';--have i been pwned? DB, else it'll print "Password not pwned!". Enjoy!

You can find Windows 64-bit binary and necessary libs in win subfolder.