Skip to content

mikepound/pwned-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

04c1439 · Jan 4, 2021

History

40 Commits
Oct 7, 2019
Jun 22, 2020
Jan 4, 2021
Jan 4, 2021
Mar 22, 2019
Mar 12, 2019
Jan 4, 2021
Mar 22, 2019
Mar 23, 2019
Aug 19, 2019
Oct 7, 2019
Dec 9, 2019
Oct 7, 2019
Dec 9, 2019
Apr 22, 2019
Jul 24, 2019
Jun 22, 2020
Mar 20, 2019

Repository files navigation

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!