mirror of
https://github.com/avwo/whistle.git
synced 2026-10-18 22:51:32 +08:00
2.0 KiB
2.0 KiB
Settings
在 whistle 的界面中,分别有 Network、Rules、Values 三个页面有 Settings 菜单,其中,Rules 和 Values 的 Settings 主要用于设置编辑器样式及是否允许多选 Rules,具体分别参见:Rules 界面说明 和 Values 界面说明。
Network
新版whistle(>= v1.13.6)对Network里面的Filter做了调整,支持分配配置 Exclude Filter 和 Include Filter,且支持通过配置直接设置过滤条件,具体参见新版Filter,尽快把whistle升级到最新版本。
Filter:
test1 test2 test2
key1 key2 key3
h:head1 heade2 head3
h: h1 h2
s: 200
i: 100 88
i: 11 77
m: get
b: keyword1 keyword2
b: keyword3
`h:`、`s:`、`i:`、`m:`、`b:` 分别表示匹配请求响应头、请求方法、响应状态码、ClientIP 及 ServerIP、请求响应内容、其它表示匹配 url(以上匹配都不区分大小写),同一行内容多个匹配用空格隔开,最多支持 3 个,表示对应的内容要同时匹配这三个关键字,不同行表示或的关系。
**也支持取反操作,即 `!host1` 、 `m:!host1` 会保留请求url中不包含host1的请求。**
- Network Columns:主要用于设置 Network 表头,或者拖拽重排等
