Brute Force Password Cracker
CyanCoding (1417)

https://repl.it/@CyanCoding/Brute-Force-Password-Cracker
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
21natzil (901)

I really don't understand why this is so upvoted, your code is incredibly inefficient, you could be using the strings module, and regex, to check the password and create a list to compare, so many issues, please, check with a dev on this.

pyelias (925)

@21natzil: Yeah, I agree. It's very spaghetti-y and too much is hard-coded.

CyanCoding (1417)

@21natzil: I'm not entirely sure I understand why my code is "incredibly inefficient". You mention that this has "so many issues". Can you try making one of these with the methods that you think would be best and then send me the link?

21natzil (901)

@microwither: I'm not going to go into too much detail, as there is so much that could be improved. However, my first suggestion is to replace your blocks of "ABCDE..." and such with pre-made ones from the 'string' module, that comes with python. In addition to that, you can use the 're' (regex) module that comes with python, to check if certain characters are inside a string.

jfftck (3)

@21natzil: I agree, people using this site don't know good code and that is why it has so many upvotes.