Skip to content

This is a secure password checker written in Python that uses data harvested from haveibeenpwned API to verify whether the password you are using has already been leaked.

License

Notifications You must be signed in to change notification settings

0KvinayK0/MistakePass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mistake Pass - Not a yet another password checker

This script written in Python, is a better alternative to using the haveibeenpwned website directly. The script only sends a portion of your hashed password to the API, and vice versa, making it very difficult for someone to sniff the traffic and guess your password (oversimplified)

Password leaked? Oops, this is definitely a good time to change your password.

Features

  1. Leverages K-anonymity to ensure no interacting parties have the full information on the password. (https://www.troyhunt.com/understanding-have-i-been-pwneds-use-of-sha-1-and-k-anonymity/)
  2. Padding has been enabled to increase the response size. This padding is randomly generated to increase the uncertainty of guessing the password hash prefix. (https://www.troyhunt.com/enhancing-pwned-passwords-privacy-with-padding/)

Drawbacks

  1. If you run this command via the command line, your password may be shown in the history or saved "somewhere" locally.
  2. If you are still concerned about point 1, please make a pull request to add functionality that reads passwords from a text file and checks them one by one.

Installation

Clone the repository:

git clone https://github.com/0KvinayK0/MistakePass.git

Change into MistakePass directory:

cd MistakePass

Provide executable permission:

chmod +x mistake_pass.py

Usage

  • Ensure you have Python3 installed on your system.
python3 mistake_pass.py <password1> <password2> …. <passwordn>

Examples

  • Use single or double quotes to send the password literally.

example1

example2

About

This is a secure password checker written in Python that uses data harvested from haveibeenpwned API to verify whether the password you are using has already been leaked.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages