Пожалуйста, обратите внимание, что пользователь заблокирован
Python:
import hashlib
print(
'''
_ _ _ _
| |__ _ _ ___| |_ _ _ __| | ___ _ __ | |_
| '_ \| | | | / __| __| | | |/ _` |/ _ \ '_ \| __|
| |_) | |_| | \__ \ |_| |_| | (_| | __/ | | | |_
|_.__/ \__, | |___/\__|\__,_|\__,_|\___|_| |_|\__|
|___/
_
__ _____ _ __| | __
\ \ /\ / / _ \| '__| |/ /
\ V V / (_) | | | < _ _ _ _
\_/\_/ \___/|_| |_|\_(_|_|_|_)
_ _ _
_ __ | | ___ __ _ ___ ___ __ ____ _(_) |_
| '_ \| |/ _ \/ _` / __|/ _ \ \ \ /\ / / _` | | __|
| |_) | | __/ (_| \__ \ __/ \ V V / (_| | | |_
| .__/|_|\___|\__,_|___/\___| \_/\_/ \__,_|_|\__|...........
|_|
'''
)
master_hash = "716a8910735195df6b8bdbc4f91183569e923844"
salt = "7jxHTg30P"
yes_string = f"{master_hash}:{salt}:"
master_hash_description = "Your hash: "
salt_description = "Your salt: "
slave_hash_description = "Result hash: "
password_candidate_description = " for password: "
with open("uniq1.txt", "r", errors="ignore") as dic:
for line in dic:
line = line.rstrip()
slave_hash = hashlib.sha1(salt.encode() + hashlib.sha1(salt.encode() + hashlib.sha1(line.encode()).hexdigest().encode()).hexdigest().encode()).hexdigest()
if master_hash == slave_hash:
result = yes_string + line
print(result)
break