Check if your password has been pwned using awesome ';--have i been pwned? API.
|
%!s(int64=7) %!d(string=hai) anos | |
---|---|---|
.gitignore | %!s(int64=7) %!d(string=hai) anos | |
LICENSE.md | %!s(int64=7) %!d(string=hai) anos | |
README.md | %!s(int64=7) %!d(string=hai) anos | |
curl.c | %!s(int64=7) %!d(string=hai) anos | |
curl.h | %!s(int64=7) %!d(string=hai) anos | |
makefile | %!s(int64=7) %!d(string=hai) anos | |
pwned.c | %!s(int64=7) %!d(string=hai) anos | |
sha.c | %!s(int64=7) %!d(string=hai) anos | |
sha.h | %!s(int64=7) %!d(string=hai) anos |
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 Your password is well known! if your password is in ';--have i been pwned? DB. Enjoy!