Check if your password has been pwned using awesome ';--have i been pwned? API.
Piotr Czajkowski cf4ee0b924 Only once | vor 4 Jahren | |
---|---|---|
.github | vor 4 Jahren | |
.gitignore | vor 6 Jahren | |
LICENSE.md | vor 6 Jahren | |
README.md | vor 4 Jahren | |
curl.c | vor 6 Jahren | |
curl.h | vor 4 Jahren | |
makefile | vor 4 Jahren | |
pwned.c | vor 4 Jahren | |
sha.c | vor 4 Jahren | |
sha.h | vor 4 Jahren |
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!