当前位置:网站首页>whistle 手机调试代理工具
whistle 手机调试代理工具
2022-08-02 03:27:00 【weixin_41779718】
下载 whistle
- 首先安装node
- 安装 whistle
npm install -g whistle
- 如果安装失败就使用淘宝镜像
npm install whistle -g --registry=[https://registry.npm.taobao.org](https://registry.npm.taobao.org/)
运行 whistle
w2 start
打开电脑浏览器
在浏览器中打开 localhost:10086页面,点击顶部 HTTPS,在弹出的二维码下方勾 Capture TUNNEL CONNECTs ,然后关闭弹窗。
打开手机
设置 => 无线局域网 => chehaoduo(或者你接入的其他无线网络) => 配置代理 => 手动
输入图一中的服务器(如:192.168.3.77)和端口号(如:10086),点击右上角存储。
手机下载证书
打开手机浏览器,输入网址:rootca.pro,下载信任文件
ios 下:设置 => 通用 => 证书信任设置,打开刚刚安装的证书的开关
安卓下(以华为为例):
查看请求
返回电脑浏览器,查看刚刚打开的页面 localhost:8899/#network ,可以查看手机的相关网络请求:
如上图,http 和 https 的请求,我们都可以抓包到了~ 接下来看一下如何看某个 url 的 console.log 和 css 样式。
边栏推荐
猜你喜欢
随机推荐
svg图片实战:自定义view打造中国地图
关于我的专利、软著~
会计账簿、会计账簿概述、会计账簿的启用与登记要求、会计账簿的格式和登记方法
Binder机制详解(一)
【泰山众筹】模式为什么一直都这么火热?是有原因的
How to determine the direction based on two coordinate points on the map
关于我的项目-实现一个数据库~
laravel 查询数据库获取结果如何判断是否为空?
Solve the problem that the 5+APP real machine test cannot access the background (same local area network)
[Hello World教程] 使用HBuilder和Uni-app 生成一个简单的微信小程序DEMO
一分钟get:缓存穿透、缓存击穿、缓存雪崩
CSRF(跨站请求伪造)
(3) string
Gradle源码解析:生命周期的三个阶段
How to calculate the distance between two points on the earth (with formula derivation)
元宇宙是一个炒作的科幻概念,还是互联网发展的下半场?
Activity
链动2+1无限循环系统,2022年起盘成功率超高的模式
The learning path of a network security mouse - the basic use of nmap
张量乘积—实验作业