PW Crack 5
with open('dictionary.txt', 'r') as f:
pos_pw_list = f.readlines()for pwd in pos_pw_list:
pwd = pwd.strip()
user_pw_hash = hash_pw(pwd)
if( user_pw_hash == correct_pw_hash ):
print("Welcome back... your flag, user:")
decryption = str_xor(flag_enc.decode(), pwd)
print(decryption)
# print("That password is incorrect")Last updated