pwned-search/README.md
micsthepick f2048b7d15 Python 2 support (#11)
* consistency of output in python 2

print("string") and print "string" have the same behavior in Python 2 and 3, but print("string", "string") will print a tuple in Python 2

* Add requirement

Update readme to include info on the one required library, requests, including a pip install command.
2019-03-14 12:31:25 +00:00

24 lines
712 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# pwned-search
Pwned Password API lookup
- Required libaries:
* requests: `pip install requests`
Usage:
* `python pwned.py` reads passwords from standard input;
* `python pwned.py <[file-with-passwords]` reads passwords from
a file;
* `another-command | python pwned.py <[file-with-passwords]` reads
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
other users on the system ma be able to observe the command line).
Thanks to those who fixed my dodgy code :)
Have fun! Oh, and if you find one of your own passwords, change it asap!