2022年10月14日
摘要: 参考文章:https://ptorch.com/docs/10/mitmproxy-concepts-filters 栗子:在命令行输入命令:mitmdump -p 8885 -s all_point.py "~q ~b event" 在命令后边加入"~q ~b xxx"关键字,可以过滤掉其他请求 阅读全文
posted @ 2022-10-14 15:54 paomianzhong 阅读(88) 评论(0) 推荐(0) 编辑
摘要: from mitmproxy import ctx, flowfilter class Recorder: def requestheaders(self, flow): ctx.log.info('requestheaders') def request(self, flow): # 日志打印 # 阅读全文
posted @ 2022-10-14 15:46 paomianzhong 阅读(157) 评论(0) 推荐(0) 编辑