1.打开题目就能直接看到密文
2.感觉爆破直接能解,试试爆破(参考文章:[buuctf] crypto全解——前84道(不建议直接抄flag)_buuctf crypto_咸鱼壹号的博客-CSDN博客)
import hashlib
k = 'TASC?O3RJMV?WDJKX?ZM'
for i in range(26):
temp1 = k.replace('?',str(chr(65+i)),1)
for j in range(26):
temp2 = temp1.replace('?',chr(65+j),1)
for n in range(26):
temp3 = temp2.replace('?',chr(65+n),1)
s = hashlib.md5(temp3.encode('utf8')).hexdigest().upper()
if s[:4] == 'E903':
print (s)