• Stars
    star
    677
  • Rank 66,694 (Top 2 %)
  • Language
    Python
  • License
    The Unlicense
  • Created over 5 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Pwned Password API lookup

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!