pwned-search/README.md
aussiDavid 986a2af1e4 Dockerised python CLI program
* Dockerised python CLI program

* Add all files into the docker image
2019-03-22 13:31:05 +00:00

26 lines
848 B
Markdown
Raw Permalink 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 libraries:
* 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` 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 may be able to observe the command line).
Using Docker:
* `docker build -t pwned .` Builds docker image
* `docker run --rm pwned [password]` Runs the pwned command pre-installed in a docker container
Thanks to those who fixed my dodgy code :)
Have fun! Oh, and if you find one of your own passwords, change it asap!