服务器抓包
Mac示例
192.168.1.1
是服务器ip,192.168.2.1
是Mac ip,本命令在Mac终端执行
ssh [email protected] 'tcpdump -i br-lan host 192.168.2.1 -s 0 -l -w -' | /Applications/Wireshark.app/Contents/MacOS/Wireshark -k -i -
Windows示例
请求过滤
查看http的GET请求
http.request.method == "GET"
查看http所有成功的请求
http.response.code == 200