2019-03-12 22:38:34 +01:00
|
|
|
|
# pwned-search
|
|
|
|
|
Pwned Password API lookup
|
2019-03-12 22:41:07 +01:00
|
|
|
|
|
2019-03-17 15:15:53 +01:00
|
|
|
|
- Required libraries:
|
2019-03-14 13:31:25 +01:00
|
|
|
|
|
|
|
|
|
* requests: `pip install requests`
|
|
|
|
|
|
2019-03-12 22:41:07 +01:00
|
|
|
|
Usage:
|
|
|
|
|
|
2019-03-13 02:31:23 +01:00
|
|
|
|
* `python pwned.py` – reads passwords from standard input;
|
2019-03-13 11:42:26 +01:00
|
|
|
|
* `python pwned.py <[file-with-passwords]` – reads passwords from
|
2019-03-13 02:31:23 +01:00
|
|
|
|
a file;
|
2019-03-14 15:33:15 +01:00
|
|
|
|
* `another-command | python pwned.py` – reads
|
2019-03-13 02:31:23 +01:00
|
|
|
|
passwords written to standard output by another command;
|
|
|
|
|
* `python pwned.py [password]` – checks passwords given as command line
|
|
|
|
|
arguments (beware the password may be saved in shell history and that
|
2019-03-17 15:15:53 +01:00
|
|
|
|
other users on the system may be able to observe the command line).
|
2019-03-12 22:41:07 +01:00
|
|
|
|
|
2019-03-13 11:42:26 +01:00
|
|
|
|
Thanks to those who fixed my dodgy code :)
|
|
|
|
|
|
2019-03-12 22:41:07 +01:00
|
|
|
|
Have fun! Oh, and if you find one of your own passwords, change it asap!
|