使用linux自带的tcpdump工具抓取对应端口的数据包

抓取udp协议某端口的流量

tcpdump udp port 9996 | grep xxx.xxx.xxx.xxx

抓取对应ip的包导出到对应文件(wireshark使用)

tcpdump -nn host xxx.xxx.xxx.xxx -w file.data
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章