tcpdump抓包命令,过滤IP端口,保存为pcap文件,抓本机上的包
tcpdump抓包命令:# tcpdump -i eth0 -Xvnn -s0 host ${对方IP} and port ${本机端口} > ./tmp.log &tcpdump -i eth0 -Xvnn -s0 host 192.168.2.18 and port 8080 > ./tmp.log &# 保存为pcap文件在Wireshark上打开查看tcpdump -i eth0 -Xvnn -s0 host 192.168.2.18 and port 8080
原创
2020-10-16 17:41:11 ·
10420 阅读 ·
0 评论