Coder Social home page Coder Social logo

0kvinayk0 / mistakepass Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 11 KB

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: MIT License

Python 100.00%
api haveibeenpwned password-checker python3 script secure sha-1

mistakepass's Introduction

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

mistakepass's People

Contributors

0kvinayk0 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.