24 lines
753 B
Markdown
24 lines
753 B
Markdown
|
# My Have I been pwned scripts
|
||
|
|
||
|
These are my scripts to the haveibeenpwned.com api.
|
||
|
... To be extended ...
|
||
|
|
||
|
|
||
|
## checkPasswordList.sh
|
||
|
|
||
|
This script checks a list of passwords against the api and reports whether they hae been compromised.
|
||
|
The passwords themselfs will NOT be send to the web-api.
|
||
|
haveibeenpwned.com's k-anonymity model is used.
|
||
|
More info can be found here https://haveibeenpwned.com/API/v2#PwnedPasswords
|
||
|
|
||
|
Example:
|
||
|
|
||
|
```
|
||
|
$ ./checkPasswordList.sh passwordlist.txt
|
||
|
Checking passwords from list passwordlist.txt
|
||
|
XX: Password P@ssw0rd has been pwned 51259 times.
|
||
|
__: Password c60e6754-8abf-4c0f-a7a7-2225da28637f has not been pwned.
|
||
|
__: Password c60e6754-8a f-4c0f-a7a -2225da28637f has not been pwned.
|
||
|
==: 1 of 3 passwords have been pwned.
|
||
|
```
|