๐ An Open Source Project ๐ Built with Python ๐
Language: Python
Libraries Used: requests
, hashlib
, sys
API Endpoint: haveibeenpwned
FAQs:
-
Why this is the most secure Password checker Tool ? Because, It does not store your password anywhere even for checking the vulnerabilities. This tool does not send the plain text to the API Endpoint, but, sends SHA-1 Hash.
-
But the Hash can also be decrypted back to Plain Text. What about that ? Absolutely ! That is why, this tool sends only the first 5 characters of that hash to the API Endpoint and hence not disclosing even the full hash of your password to the Internet.
For Better Understanding, Please check the Flow Chart of how this tool works:
All the functionalities shown in the Flow Chart above is divided into small python functions stored in src/checker-functions.py
and being called in main.py
.
It is definitely small, yet an extremely powerful and essential tool to check if the password you're planning to use for any of your account has been a part of any Data Breaches. And if it is, the tool will clearly show you how many times the password you're checking has been a part of Data Breaches.
I hope you find the Description and the Flow-Chart useful. If you have any further questions, Please feel free to reach out and details for that are in Know Me More section below.
Have a great day ahead ๐ฅ
git clone https://github.com/ajayagrawalgit/Secure-Password-Checker.git
2. Go Inside the Cloned Repository and Change some Permissions (Changing permissions are required for some OS Types)
cd Secure-Password-Checker
chmod 755 *
./install.sh
Note: Make sure that GIT Works and you have Python 3 installed on your machine. If not, please download and install git from here and Python from here. Once downloaded and Installed, Please follow the steps below:
git clone https://github.com/ajayagrawalgit/Secure-Password-Checker.git
cd /d Secure-Password-Checker/src
python3 main.py -h
Above Command will display the help message for the tool.
As we're running the Python file directly here. We don't need to actually Install the tool on our machine. If you need step by step instructions how to set up python on your windows machine. I found this website quite good. You can definitely refer to this link.
Also, if you don't want to install Git as well on your Machine, you can also consider downloading the package as a zip file directly from the GitHub itself. Refer the instructions for the same from here.
Using the tool is pretty easy to be honest โค Please read the instructions below according to your OS:๏ธ
For help:
securepasswordchecker -h
OR
securepasswordchecker --help
Tool Syntax:
securepasswordchecker <passwd1> <passwd2> <passwd3> <passwd4> and so on....
Examples:
$> securepasswordchecker this_is_my_password@123
$> securepasswordchecker iamthequeen@123 kings_password_here1 my_Secure_password@lol
Move to the src
folder and execute main.py
like stated below:
For help:
cd /d Secure-Password-Checker/src
python3 main.py -h
OR
python3 main.py --help
Tool Syntax (Remains the same):
python3 main.py <passwd1> <passwd2> <passwd3> <passwd4> and so on....
Examples:
\Secure-Password-Checker\src> python3 main.py this_is_my_password@123
\Secure-Password-Checker\src> python3 main.py iamthequeen@123 kings_password_here1 my_Secure_password@lol
- Make the command-line tool accessible across terminal in Windows as well like Linux.
- May be
Beautify
the text displayed on the terminal.
Developer - Ajay Agrawal
- ๐ Profile
- ๐ฎ Email
- ๐ฆ Twitter Bot (@mickbotsays)