Go to file
Toon 3279ad4dd5 Better error handling and output format (#6)
* Update readme: fix small redirection mistake

* Use one output line per password

* More graceful error handling

* Only catch UnicodeErrors
2019-03-14 14:33:15 +00:00
LICENSE Initial commit 2019-03-12 21:38:34 +00:00
pwned.py Better error handling and output format (#6) 2019-03-14 14:33:15 +00:00
README.md Better error handling and output format (#6) 2019-03-14 14:33:15 +00:00

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 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!