小白教程
所有教程
关于
Search
172.70.127.47
172.70.127.47
参数设置
贡献
退出
操作
编辑
移动
保护
信息
历史
删除
查看“Mitmproxy过滤表达式”的源代码
本页内容
上一节:
Mitmproxy拦截修改请求
下一节:
Mitmproxy工作原理
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
[[Category:Mitmproxy中文教程|6]] mitmproxy 工具中的许多命令都使用过滤器表达式。过滤器表达式由以下运算符组成: {| class="table" | ~a | 匹配返回数据中的以下文件类型:CSS、JavaScript、图像、字体。 |- | ~all | 匹配所有内容 |- | ~b regex | 匹配Request body和Response body |- | ~bq regex | Request body |- | ~bs regex | Response body |- | ~c int | HTTP response code |- | ~comment regex | Flow comment |- | ~d regex | 匹配Domain |- | ~dns | Match DNS flows |- | ~dst regex | Match destination address |- | ~e | Match error |- | ~h regex | Header |- | ~hq regex | Request header |- | ~hs regex | Response header |- | ~http | Match HTTP flows |- | ~m regex | Method |- | ~marked | Match marked flows |- | ~marker regex | Match marked flows with specified marker |- | ~meta regex | Flow metadata |- | ~q | Match request with no response |- | ~replay | Match replayed flows |- | ~replayq | Match replayed client request |- | ~replays | Match replayed server response |- | ~s | Match response |- | ~src regex | Match source address |- | ~t regex | Content-type header |- | ~tcp | Match TCP flows |- | ~tq regex | Request Content-Type header |- | ~ts regex | Response Content-Type header |- | ~u regex | URL |- | ~websocket | Match WebSocket flows |- | ! | unary not |- | & | and |- | <nowiki>|</nowiki> | or |- | (...) | grouping |}
返回至“
Mitmproxy过滤表达式
”。
上一节:
Mitmproxy拦截修改请求
下一节:
Mitmproxy工作原理