whistle代理使用

whistle代理使用

安装客户端

https://wproxy.org/docs/getting-started.html

  1. 安装证书,点击Download RootCA 下载安装证书。手机扫码下载安装,信任证书。
  2. 移动端安装证书 https://wproxy.org/docs/mobile.html

电脑和手机在同一个wifi下,手机设置wifi-代理-手动。输入ip地址和端口(8888)

验证:手机可以正常访问。whistle能捕获 HTTPS 请求 image

请求拦截

拦截请求转发到本地,适合简单调试线上到本地

如:访问线上的资源实际请求的是本地的

更多匹配规则查看https://wproxy.org/docs/rules/pattern.html

image

插件使用

https://wproxy.org/docs/extensions/usage.html

h5调试工具插件

https://github.com/whistle-plugins/whistle.inspect