|
|
|
|
|
|
|
|
|
|
|
|
|
|
def decode_key(self, pw): |
|
|
def decode_key(self, pw): |
|
|
densePwd = pw.replace(" ", "") |
|
|
densePwd = pw.replace(" ", "") |
|
|
if len(densePwd) != 84 and (densePwd not in ["PACKTACTICS!", "JUSTINBAILEY", "NARPASSWORD"]): |
|
|
|
|
|
|
|
|
builtins = ["PACKTACTICS!", "JUSTINBAILEY", "NARPASSWORD", "PACKTACTICS1", "PACKTACTICS2", "PACKTACTICS3"] |
|
|
|
|
|
if len(densePwd) != 84 and (densePwd.upper() not in builtins): |
|
|
print("This password is not valid. If this is a password that this generator created, please email noelle@noelle.codes and let me know.") |
|
|
print("This password is not valid. If this is a password that this generator created, please email noelle@noelle.codes and let me know.") |
|
|
sys.exit(0) |
|
|
sys.exit(0) |
|
|
if densePwd[:12].upper() == "PACKTACTICS!" or densePwd[:12].upper() == "PACKTACTICS3": |
|
|
if densePwd[:12].upper() == "PACKTACTICS!" or densePwd[:12].upper() == "PACKTACTICS3": |