标签:div hex property image letter code import word http
题干如下:
分析:
遍历 TASC?O3RJMV?WDJKX?ZM(?替换为其他),找到md5为e9032???da???08????911513?0???a2形式的即可
脚本如下:
1 import md5 2 import string 3 ? 4 dic = string.ascii_letters + string.digits 5 ? 6 for i in dic: 7 for j in dic: 8 for k in dic: 9 s = ‘TASC‘ + i + ‘O3RJMV‘ + j + ‘WDJKX‘ + k + ‘ZM‘ 10 MD5 = md5.md5(s).hexdigest() 11 if MD5[0: 5] == ‘e9032‘: 12 print ‘nctf{‘ + MD5 + ‘}‘
则flag即为
南京邮电大学网络攻防平台(NCTF)-MD5-Writeup
标签:div hex property image letter code import word http
原文地址:http://www.cnblogs.com/WangAoBo/p/6921914.html