diff options
| -rw-r--r-- | main.py | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,7 +1,12 @@ +import sys chars = "qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM1234567890!@#$%^&*()[]{}\\|-=_+,./<>?;:\'\"" -passwd = input("Put in a password> ") +global passwd +try: + passwd = sys.argv[1] +except: + passwd = input("Put in a password> ") guess_pass_index = [0 for i in range(len(passwd))] |
