1.题目
附件
2.分析
追踪流量包TCP流发现疑似坐标数据,这时候我们可以考虑到RGB坐标转图片
此时我们另存为txt文件,使用python脚本提取所有疑似内容,这里使用正则表达式来提取
re --- 正则表达式操作 — Python 3.13.0 文档https://docs.python.org/zh-cn/3/library/re.html
附上脚本
import rea = open('1111.txt')
b = a.read()z = re.findall(r'tgPos\{\d+}\.Value\.\[\d+,\d+,\d+]', b)with open("result.txt", "w") as file:for s in z:file.write(s + '\n')
然后得到
继续进行脚本绘图
from PIL import Image
import rex = 400
y = 200 # 查看最大坐标得知图片大致大小
im = Image.new("RGB", (x, y))
n = 0
with open('result.txt', 'r') as f:for r1 in f:n = n + 1r2 = str(re.search(r'\[(.*?)]', r1)[1])# 匹配任意字符(.),重复任意次数(*),使用非贪婪模式(?)a = list(map(int, r2.split(",")))im.putpixel((a[0], a[1]), (255, 255, 255))
im.show()
然后得到图片
easy_robo_xx 在线MD5加密https://md5.hwcha.com/
3.答案
NSSCTF{d4f1fb80bc11ffd722861367747c0f10}