whistle抓包

whistle抓包

whistle官网: https://wproxy.org/whistle/whistle是基于Node实现的跨平台web调试代理工具,类似的工具有Windows平台上的Fiddler,主要用于查看、修改HTTP、HTTPS、Websocket的请求、响应,也可以作为HTTP代理服务器使用。下...

2024年5月28日
201字

whistle官网: https://wproxy.org/whistle/

whistle是基于Node实现的跨平台web调试代理工具,类似的工具有Windows平台上的Fiddler,主要用于查看、修改HTTP、HTTPS、Websocket的请求、响应,也可以作为HTTP代理服务器使用。

下载

npm install whistle -g

开启https

安装下载的证书

基础使用

# 启动
w2 start
# 关闭
w2 stop

界面具体介绍 https://wproxy.org/whistle/webui/

设置代理

w2 stop的时候,记得将代理服务器关掉!

PC抓包

访问本地ip的8899端口或者访问http://local.whistlejs.com/#network

替换网络请求指定资源

在Rules里面按照如下示例:

https://test.com/mrp/task/query/index.js file://D:\projects\test\src\task\query\index.js 
https://test/mrp/task/query/index.html file://D:\projects\test\src\task\query\index.html


记得将代理服务器关掉!如果想要恢复之前的代理需要手动改一下

文章评论区

欢迎留言交流

未登录,请先注册或登录后发表评论。

Leave comment