Estimates your passoword, gives it a score from 0 to 10
In file "blacklist.json" (in this repo) there is a list of 500 most common passwords
This program checks if your password is in that list. If so, it will return "0".
- +2 if your password contains lowcase letters
- +2 if your password contains uppercase letters
- +2 if your password contains digits
- +4 if your password contains special symbols (like !%@)
- +lengh scores - your password length divided by 2 (max 10)
You can get maximum 20 scores. Then program divides it by 2 and prints out.
Launch:
$ python password_strength.py
$ Password: <type_your_password>
$ 8
The code is written for educational purposes. Training course for web-developers - DEVMAN.org