Skip to content

Python script that allows you to check the strength of passwords. It uses the `zxcvbn` library to evaluate the strength of passwords based on factors such as length, complexity, and common usage.

License

Notifications You must be signed in to change notification settings

Sharma-IT/password-strength-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Password Strength Checker

This is a Python script that allows you to check the strength of passwords. It uses the zxcvbn library to evaluate the strength of passwords based on factors such as length, complexity, and common usage.

Table of Contents

  1. Features
  2. Requirements
  3. Usage
  4. Contributing
  5. Contact
  6. License

Features

  • Check the strength of a password and provide a score and feedback message.
  • Option to use custom wordlists for checking weak and banned passwords.
  • Simple command-line interface for easy interaction.

Requirements

  • Python 3.x
  • zxcvbn library

Usage

  1. Clone the repository:
git clone https://github.com/Sharma-IT/Password-Strength-Checker.git
  1. Change into directory:
cd Password-Strength-Checker
  1. Install the zxcvbn library:
pip3 install zxcvbn
  1. Run the script:
python password_strength_checker.py.
  1. Follow the prompts to enter the number of passwords to test, the path to the weak wordlist file (optional), and the path to the banned wordlist file (optional). Enter the passwords to test when prompted.

NOTE: To exit the tool, enter 0 when prompted for the number of passwords to test.

Example Output

$ python password_strength_checker.py
Enter the number of passwords to test (enter 0 to exit): 2
Enter the path to the weak wordlist file (leave blank for default):  
Enter the path to the banned wordlist file (leave blank for default):

Enter a password: password123
Too short: Password should be at least 12 characters long.

Enter a password: securePassword123!
Strong: Password meets all the requirements. Score: 4/4

Enter the number of passwords to test (enter 0 to exit): 0
Exiting the tool.
Thank you for using the Password Strength Checker.

Contributing

Pull requests are welcomed. For major changes, please open an issue first to discuss what you would like to change.

Contact

Shubham Sharma - My LinkedIn - [email protected].

License

This project is licensed under the GPL 3.0 License - see the LICENSE file for details.

About

Python script that allows you to check the strength of passwords. It uses the `zxcvbn` library to evaluate the strength of passwords based on factors such as length, complexity, and common usage.

Topics

Resources

License

Stars

Watchers

Forks

Languages