代码拉取完成,页面将自动刷新
中间人代理。可以方便地查看请求/响应,可以将响应替换成本地文件或远程地址,可以将请求转化成常用语言的请求代码。
下载相应平台的可执行文件并执行 releases
如
./mitm_darwin_arm64
参数:
过滤规则仅对hostname过滤。如
访问链接,如 http://localhost:8083
当前设备下载安装并信任CA证书
mac:
windows:
设置代理为 http://localhost:8082
mac:
windows:
按行进行分割,其他请参考-include
和-exclude
参数定义
替换成指定网址(https://、http://),替换成本地文件(file://)
chmod +x mitm_darwin_arm64
go run ./cmd/mitm-web/*.go
# http://localhost:5173/
npm run --prefix ./web/ui dev
curl -X POST "https://httpbin.org/post" -H "accept: application/json" --data '{"a":"xyz","b":"123"}' -x http://localhost:8082 --cacert ./static/tls/ca.crt
curl "https://httpbin.org/get" -x http://192.168.31.171:8082 --cacert ./static/tls/ca.crt
make
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。