如何用tcpdump快速捕获302报文
分类:
想要快速捕获网站中的特定报文,比如http的重定向报文302,直接用如下命令即可
tcpdump -i em1 -n -nn -s0 -w 302.pcap tcp[20]==0x48 and tcp[21]==0x54 and tcp[22]==0x54 and tcp[23]==0x50 and tcp[29]==0x33 and tcp[30]==0x30 and tcp[31]==0x32 -v
查看评论
暂无评论