Neo Anderson's Blog

wireshark相关TIP

字数统计: 149阅读时长: 1 min
2019/08/14
loading

Wireshark作为支持界面操作的强大网络协议分析工具, 是工程师的必备利器。 罗列一些常用的过滤命令方便新人快速上手。

检索类:

  • 比较运算符: ==(eq), !=(ne), >(gt), <(lt), >=(ge), <=(le)
1
2
3
mysql.packet_number == 0
http.request.method == "POST"
tcp.port == 80
  • 逻辑运算符: and, or, not
1
tcp.port ==80 and ip.src == 127.0.0.1
  • 切片运算符[x:m], [x-m]
1
http.content_type[0:4] == "text"
  • 搜索/匹配运算符 (contains), matches(~)
1
http contains "http://www.baidu.com"
  • 转换函数 upper() , lower(), len(), count(), string()
1
upper(http.request.method) == "POST"

优化显示类

CATALOG
  1. 1. 检索类:
  2. 2. 优化显示类