A simple Python-based tool to assess the strength of a password based on complexity criteria such as length, uppercase/lowercase letters, numbers, and special characters. Built for Kali Linux but works on any system with Python 3.
The tool evaluates the strength of a password based on the following criteria:
- Length: The password must be at least 8 characters long.
- Uppercase Letters: The password must contain at least one uppercase letter (A-Z).
- Lowercase Letters: The password must contain at least one lowercase letter (a-z).
- Digits: The password must contain at least one digit (0-9).
- Special Characters: The password must contain at least one special character (e.g.,
!@#$%^&*()
).
The tool calculates a strength score based on how many of these criteria are met and provides feedback on the password's strength:
- Very Weak: Meets 0-1 criteria.
- Weak: Meets 2 criteria.
- Moderate: Meets 3 criteria.
- Strong: Meets 4 criteria.
- Very Strong: Meets all 5 criteria.
- Python 3.x (pre-installed on Kali Linux).
- Clone the Repository:
git clone https://github.com/yourusername/password-strength-checker.git cd password-strength-checker
- Run the Script:
python3 password_checker.py
- Enter a Password: When prompted, enter the password you want to check.
The tool will evaluate the password and display its strength.
- Example
$ python3 password_checker.py
Enter your password: MyP@ssw0rd123
Your password strength is: Very Strong