Draymonders / Code-Life

The marathon continues though.
27 stars 3 forks source link

tcp/http 抓包 #112

Open Draymonders opened 3 years ago

Draymonders commented 3 years ago

wireshark 安装

sudo apt install wireshark
Draymonders commented 3 years ago
sudo tcpdump -i bond0 host 10.40.80.34 and port 30190 -w fp.cap

1、tcpdump  -i eth0  抓取所有指定网络接口上的包
2、tcpdump -i eth0 host 10.10.10.10   (源或目的的host)

写的cap文件可以用wireshark直接打开