侧边栏壁纸
博主头像
SHO酱的Blog博主等级

行动起来,活在当下

  • 累计撰写 109 篇文章
  • 累计创建 148 个标签
  • 累计收到 3 条评论

目 录CONTENT

文章目录

Windows设置代理服务抓取请求数据

SHO酱
2021-04-16 / 0 评论 / 0 点赞 / 876 阅读 / 1182 字

之前,在 MacOS 上最为常用的代理抓包工具是 Charles(花瓶);现在到了 Windows 系统上,也需要抓包,于是找到了《whistle

安装

安装可以参考这里

其实就是在保证正确安装 Node 后,通过 npm 命令安装 whistle。

npm install -g whistle

运行

运行 whistle 的相关命令,如下:

w2 start  启动
w2 --help # 获取帮助,查看所有命令
w2 stop # 停止
w2 restart # 重启

启动成功显示如下信息:

[i] whistle@2.6.12 started
[i] 1. use your device to visit the following URL list, gets the IP of the URL you can access:
       http://127.0.0.1:8899/
       http://192.168.1.125:8899/
       Note: If all the above URLs are unable to access, check the firewall settings
             For help see https://github.com/avwo/whistle
[i] 2. configure your device to use whistle as its HTTP and HTTPS proxy on IP:8899
[i] 3. use Chrome to visit http://local.whistlejs.com/ to get started

配置

配置的地方是针对 HTTPS 请求抓包是需要安装并信任 CA 证书,否则无法获取 HTTPS 请求的数据。

存在的问题

  1. 安装 CA 文件后,Android配置whistle代理后,APP微信小程序无法访问到网络;
0

评论区