wireshark常用协议过滤

admin 2023年11月15日09:22:06wireshark常用协议过滤已关闭评论126 views字数 513阅读1分42秒阅读模式

一、地址过滤
源地址及目的地址过滤
ip.src == ip地址
ip.dst == ip地址

wireshark常用协议过滤
对源地址或者目的地址过滤
ip.addr == ip地址

wireshark常用协议过滤
排除某个地址数据包过滤 !(ip.addr == ip地址) 

wireshark常用协议过滤
二、端口过滤
对源端口及目的端口过滤 tcp.srcport == 80 tcp.dstport == 80

wireshark常用协议过滤
 对源地址或者目的端口过滤 tcp.port == 80 

wireshark常用协议过滤
大于某个端口的过滤 tcp.port >= 60000 

wireshark常用协议过滤
三、协议过滤 协议过滤 直接在filter框中输入协议名,如过滤HTTP协议,则http 

wireshark常用协议过滤
四、http协议相关过滤 过滤出请求地址中包含“user”的请求 http.request.uri contains User
过滤域名 http.host == www.baidu.com

wireshark常用协议过滤
模糊过滤域名 http.host contains baidu

wireshark常用协议过滤
过滤请求的content_type类型 http.content_type == 'text/html' 

wireshark常用协议过滤
过滤http请求方法 http.request.method == GET

wireshark常用协议过滤
过滤http响应状态码 http.response.code == 200

wireshark常用协议过滤
过滤含有指定cookie的http数据包 http.cookie contains userid

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2023年11月15日09:22:06
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   wireshark常用协议过滤https://cn-sec.com/archives/2206511.html