Wireshark 过滤命令 3
常用命令:
过滤指定协议
1 | tcp |
过滤 ip
1 | ip.src==x |
过滤端口
1 | tcp.port==80 |
http 相关过滤( ctf 常用)
过滤指定字符
1 | // 不加双引号也可以 |
针对长度的过滤
1 | udp.length<30 |
针对数据包内容的过滤
1 | http.request.uri matches "zinc" 匹配http请求中zinc |
过滤域名
1 | http.host==www.baidu.com |
模糊过滤域名
1 | http.host contains baidu |
过滤请求的 content_type 类型
1 | http.content_type=='text/html' |
过滤 http 请求方法
1 | http.request.method==GET |
过滤 http 响应码
1 | http.response.code==200 |
过滤含有指定 cookie 的 http 数据包
1 | http.cookie contains userid |
连接词
1 | and 并且 |