Go to file
Alex Povel 36b6f603b4 Two tiny changes (#27)
* Use .ok property instead of status-code check against 200

* Tighter try/except handling\nPutting less code into the try block
2019-07-24 20:40:03 +01:00
csharp Switches to unicode, adds a .gitignore for VS (#23) 2019-05-02 18:53:15 +01:00
html Added python GUI and HTML versions 2019-03-20 10:20:33 +00:00
Dockerfile Dockerised python CLI program 2019-03-22 13:31:05 +00:00
LICENSE Initial commit 2019-03-12 21:38:34 +00:00
pwned.go Go version 2019-03-23 22:38:45 +00:00
pwned.mos Create pwned.mos (#26) 2019-05-31 00:02:04 +01:00
pwned.ps1 Adjustments for PowerShell variant (#21) 2019-04-22 13:41:47 +01:00
pwned.py Two tiny changes (#27) 2019-07-24 20:40:03 +01:00
pwned.sh Bash version 2019-05-02 18:51:24 +01:00
pwnedGUI.py Added python GUI and HTML versions 2019-03-20 10:20:33 +00:00
README.md Dockerised python CLI program 2019-03-22 13:31:05 +00:00

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!