if (generate_hash_word(word) == 0x712e241608d44a98):
print(flag)
return 1
pip3 install passlib
from passlib.hash import mysql323
wordlist = ['123','12345','password','qwerty']
def generate_hash_word(word:str):
return str(mysql323.hash(word))
for word in wordlist:
if (generate_hash_word(word) == '5d2e19393cc5ef67'):
print(f'Хэш 5d2e19393cc5ef67 равен {word}')
>>> Хэш 5d2e19393cc5ef67 равен password