Featured image of post wireshark常用抓包分析命令

wireshark常用抓包分析命令

服务器抓包

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
Built with Hugo
主题 StackJimmy 设计