場景
對流量的篩選,切割,合並
具體方法
Wireshark自帶工具:
mergecap(合並流量包)
tshark(流量包過濾)
editcap(流量包分解)
流量包合並
mergecap -w total.pcap a.pcap b.pcap //(文件名太長簡寫成a和b)
篩選協議
tshark -r total.pcap -Y pop||smtp||http -w result.pcap(total.pcap為上一步合並的數據包)
切割
editcap.exe -c 100 D:\dump.pcap D:\test.pcap
參考
模擬企業網絡流量進行入侵溯源分析
https://zhuanlan.zhihu.com/p/35623547