diff --git a/Python/PasswordStrenght/Readme.MD b/Python/PasswordStrenght/Readme.MD new file mode 100644 index 00000000..bf502a20 --- /dev/null +++ b/Python/PasswordStrenght/Readme.MD @@ -0,0 +1,22 @@ +# Password Strength Checer + +## Inroduction +``` +It is a simple Password Strength checker which gives the strength of your password. +Here I have used the re(regular expression) module. +``` +## How to use it : +1. Download or clone the repository +2. Install Required Libraries +3. Run password.py +4. Enter you Password +5. The Strength of your password will be shown + +### Output +Here I have explained all the output in the below image + +![endpoint](https://github.com/Tejas1510/hacking-tools-scripts/blob/password/Python/PasswordStrenght/images/image1.png) + +![built with love](https://forthebadge.com/images/badges/built-with-love.svg) + +Check out my Github profile [Tejas1510!](https://github.com/Tejas1510) diff --git a/Python/PasswordStrenght/images/image1.png b/Python/PasswordStrenght/images/image1.png new file mode 100644 index 00000000..405d4e2f Binary files /dev/null and b/Python/PasswordStrenght/images/image1.png differ diff --git a/Python/PasswordStrenght/password.py b/Python/PasswordStrenght/password.py new file mode 100644 index 00000000..2cc34b39 --- /dev/null +++ b/Python/PasswordStrenght/password.py @@ -0,0 +1,25 @@ +import re +p = input("Please enter a passowrd for checking its Strenght : ") +count=0 +if(len(p)>=6): + count=count+1 +if(re.search("[a-z]",p)): + count=count+1 +if(re.search("[A-Z]",p)): + count=count+1 +if(re.search("[$#@]",p)): + count=count+1 +if(re.search("[0-9]",p)): + count=count+1 +if(count==1): + print("The Password is Poor") +elif(count==2): + print("The Password is Fair") +elif(count==3): + print("The Password is Good") +elif(count==4): + print("The Password is Strong") +elif(count==5): + print("The Password is Very Strong") +else: + print("INVALID PASSWORD")