2ef5c047b4296a807eea8366f67d7f271f0d47de,bin/password-strength-checker.py,,pass1,#,10

Before Change


    special = "!@//$%^&*()?"
    if len(password) >= 8 and not password.islower() and not password.isupper() and not password.isalpha() and not password.isdigit() and any((c in special) for c in password):
        print("Strong Password")
        return 1
    else:
        print("Weak Password")
        pass1()

After Change


        if len(password) < 10 :
            print(" your password is less than 10 characters")
        
        if len(password)>= 10 :
            if (any(x.isdigit() for x in password)) and (any(x.islower() for x in password)) and any(char in invalidcharacters for char in password) and (any(x.isupper() for x in password)) :
                print("Good! You have created a strong password ")
                break
            else:
                print("Please enter Atleast, an upper case , lowercase , special character !@//$%^&*()? and digit")
            
            
            
               

if __name__== "__main__":
    checkx()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: Logan1x/Python-Scripts
Commit Name: 2ef5c047b4296a807eea8366f67d7f271f0d47de
Time: 2020-06-28
Author: 59202862+Monsieurvishal@users.noreply.github.com
File Name: bin/password-strength-checker.py
Class Name:
Method Name: pass1


Project Name: bethgelab/foolbox
Commit Name: bf635f90dae66e4ddd3e1f342dca925b3c99faf7
Time: 2020-02-11
Author: git@jonasrauber.de
File Name: foolbox/attacks/binarization.py
Class Name: BinarizationRefinementAttack
Method Name: __call__


Project Name: andresriancho/w3af
Commit Name: 6c808fa0af3f66be4cee3204c0a45a7075eab625
Time: 2018-11-09
Author: aronmolnar@itsecure.at
File Name: w3af/core/data/parsers/doc/url.py
Class Name: URL
Method Name: is_valid_domain