测试抓包工具2-whistle抓包

前言

测试抓包工具有很多,之前分享过用stream抓包(juejin.cn/post/708814... stream抓包在使用中会有一些不太好用的地方:比如手机屏幕太小,在不知道接口名的情况下一个一个点击进去找。效率很低。特别是接口很多的情况下,得累死一头牛。这个时候急需一个安装简单,使用简单,界面简单的一款pc端抓包工具

1、whistle下载

npm install -g whistle

安装error小插曲

提示没有权限"Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/whistle'"

调整下 sudo npm install -g whistle

相关命令

csharp 复制代码
~w2 -V  查看有没有安装成功
2.9.99
~w2 start 开启
[i] whistle@2.9.99 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://**172.30.32.56:8899**/

       Note: If all URLs are inaccessible, check firewall settings

             For help see **https://github.com/avwo/whistle**

[i] 2. set the HTTP proxy on your device with **the above IP & PORT(8899)**

[i] 3. use **Chrome** to visit **http://local.whistlejs.com/** to get started
~w2 stop

[i] whistle killed

打开web页面

苹果手机抓包 (跟stream差不多)

1、下载证书

这个简单,点击https按钮会出现一个二维码,手机扫码下载

2、信任证书

mock

相关推荐
猫耳君8 小时前
汽车网络安全 CyberSecurity ISO/SAE 21434 测试之四
安全·web安全·网络安全·汽车·测试·security·cybersecurity
WebInfra19 小时前
📱开源 AI 工具驱动 iOS 自动化 、接入全新 Qwen 模型 - Midscene v0.29 发布
前端·ios·测试
Apifox21 小时前
Apifox 9 月更新| AI 生成接口测试用例、在线文档调试能力全面升级、内置更多 HTTP 状态码、支持将目录转换为模块
前端·后端·测试
大话性能4 天前
python处理数据的风骚操作[pandas 之 groupby&agg]
测试
大话性能4 天前
教你一招,如何保护自己的 Python 代码?
测试
大话性能4 天前
【Pycharm必学技巧 01】误删项目?一秒找回
测试
大话性能4 天前
Python模块导入与路径管理
测试
大话性能4 天前
Pycharm远程连接服务器的Python虚拟环境(Virtualenv)
测试
大话性能4 天前
Python 对字节流处理模块Struct 详解
测试
MicrosoftReactor4 天前
技术速递|如何使用 Playwright MCP 和 GitHub Copilot 调试 Web 应用
github·copilot·测试·playwright·mcp