tshark
约 1 分钟阅读
- tshark.dev链接tshark.devtshark.dev · 参考 · tshark.1 · Wireshark display filter syntax and reference · https://www.wireshark.org/docs/dfref/h/http.html笔记:tshark
- 参考
- tshark.1链接www.wireshark.org/docs/man-pages/tshark.htmltshark.dev · 参考 · tshark.1 · Wireshark display filter syntax and reference · https://www.wireshark.org/docs/dfref/h/http.html笔记:tshark
- Wireshark display filter syntax and reference
- www.wireshark.org/docs/dfref/h/http.html
# interfaces
tshark -D
# filter
tshark -f "net 192.168.8.0/24"
# 只显示 req header
tshark tcp port 80 or tcp port 443 -V -R "http.request"
# 只显示 res header
tshark -V -Y "tcp.port == 80 && http.response"
# DHCP
tshark -i ethX -n port 68 -R 'bootp.type == 2'
# SNI
tshark -V -Y 'tcp.port==443 && ssl.handshake.extensions_server_name=="example.com"'FAQ
Couldn't run /usr/bin/dumpcap in child process: Operation not permitted
- 运行时添加 --cap-add=NET_RAW --cap-add=NET_ADMIN
getcap $(which dumpcap)
# /usr/bin/dumpcap cap_net_admin,cap_net_raw=eip关联信息
反向链接、本文链接的其他页面和外部资料。
参考资料
其他外链4 条
- tshark.devtshark.dev/
- www.wireshark.org/docs/dfref/h/http.htmlwww.wireshark.org/docs/dfref/h/http.html
- www.wireshark.org/docs/man-pages/tshark.htmlwww.wireshark.org/docs/man-pages/tshark.html
- www.wireshark.org/docs/man-pages/wireshark-filter.htmlwww.wireshark.org/docs/man-pages/wireshark-filter.html