跳到主要内容

Misc - 053

备注

created by || 0xH3rshel

⏲️ Release Date // 2022-05-15

💀 Solvers // 27

🧩 Type // misc

9950b5c66f8518f8b012359dc7390589
c03ec75734f58d87cddff35c57786429
e757e84e31ef68a74d86d6b52478654c
HMV{c761d942cf5fe4ba9ece382739afef4e} </pre>

根据国外哈希彩虹表数据库的数据

HashTypeResult
9950b5c66f8518f8b012359dc7390589md54doggy1
c03ec75734f58d87cddff35c57786429md53mimis2
e757e84e31ef68a74d86d6b52478654cmd52wagon3

根据规律,编写爆破脚本

import itertools as its
import hashlib
import string

s = "1{}4"


def scmmb_v1():
for a1 in string.ascii_lowercase:
for a2 in string.ascii_lowercase:
for a3 in string.ascii_lowercase:
for a4 in string.ascii_lowercase:
for a5 in string.ascii_lowercase:
tmp = s.format(a1 + a2 + a3 + a4 + a5)
tmp_hash = hashlib.md5(tmp.encode()).hexdigest()
if tmp_hash == "c761d942cf5fe4ba9ece382739afef4e":
print(tmp, tmp_hash)
return

def scmmb_v2():
dics = its.product(string.ascii_lowercase, repeat=5)
for word in dics:
tmp = s.format("".join(word))
tmp_hash = hashlib.md5(tmp.encode()).hexdigest()
if tmp_hash == "c761d942cf5fe4ba9ece382739afef4e":
print(tmp, tmp_hash)
return

scmmb_v2()

# 1lordp4 c761d942cf5fe4ba9ece382739afef4e

flag

HMV{1lordp4}