BUUCTF-MISC-數據包中的線索
1. 打開流量包,直接追蹤http流,發現base64轉碼,進行圖片轉換即可

2. 代碼如下
import os,base64
with open("..\\1.txt","r") as f:
imgdata = base64.b64decode(f.read())
file = open('1.jpg', 'wb')
file.write(imgdata)
file.close()