buu oj misc day9
菜刀666
类型
流量包分析
流量包
666666.pcapng
解题
- 流量包wireshark打开后基础分析:
-
统计-协议分级:
-
Conversation统计:
-
HTTP分组计数:
-
请求统计:
-
发现http请求,上传1.php,分析为可以数据包,过滤ip.addr==192.168.43.83 and http,很多请求:
-
打开看每个请求都是base64编码的命令
-
用命令导出
tshark -r 666666.pcapng -T fields -e urlencoded-form.value > data.txt
(-e 后面参数“urlencoded-form.value”是通过右键要导出编码值,选中过滤),将所有action值导出到data.txt,打开有很多空行:
-
自编脚本去空行
f = open('output.txt','w')
#输入文件
d = open('./dat