Brute Force Password Cracker
CyanCoding (1608)
I built the Brute Force Password Cracker as a fun program to test out passwords, and to test my knowledge of Python 3 and its libraries.

You are viewing a single comment. View All
jp3 (3)

Some suggestions:

  1. Use the built-in character sets in the module 'string'.
    Example: 'any(c in string.ascii_lowercase for c in password)' is true when there is a lowercase letter in password. You can use a similar technique with symbols even though they don't have their own string in the module, by first checking for everything else.

  2. First check the more common combinations. Only numbers, then only lowercase letters, then both, and so on. Within the user's wishes, of course.

  3. Long strings are often better assigned to a variable outside the main logic of the program and then inserted when needed. Appropriate naming of the variables is important.

Nice project. I especially like the different responses to questions.