不知道有没有需要的,搜了一下论坛,好像有问httpcanary抓包问题的,一般也就两个问题,抓不到https的包,就需要安装zheng shu,要root权限安装到系统,才大概率可以抓到包,另一个问题就是安装zheng shu之后,部分app无法联网问题,就需要安装trustmealready xposed模块。

AnyProxy是阿里出品,一个开放式的HTTPdai--li服务器,可以用来抓包,安卓免root抓包,同一个局域网内,其他设备设置了dai--li也是可以抓的,支持https的包,安装相对比较简单。

安卓手机可以使用termux安装,iOS的iSH也是一个linux模拟器,没试过能不能安装,自己电脑安装nodejs之后也是可以安装的。

比如termux:

1、安装anyproxy。

#安装

apt install nodejs

npm install -g anyproxy复制代码

2、如果需要抓https,就需要安装zheng shu。

#启动anyproxy

anyproxy

#默认使用8001dai--li端口,前端网页8002端口

浏览器打开:http://localhost:8002复制代码


安卓就随便一个浏览器打开下载RootCA,然后安装一下zheng shu就可以了,一般在系统安全——凭据存储——安装zheng shu。

iOS可以用safari浏览器打开:http://安卓termux局域网ip:8002,下载zheng shu,然后安装一下zheng shu,信任zheng shu,在 设置->通用->关于本机->zheng shu信任设置 中把AnyProxyzheng shu的开关打开。

3、设置dai--li。

安卓手机,wifi——dai--li,设置dai--li,手动,地址就是127.0.0.1,端口8001

iOS,也是一样的,配置dai--li,httpdai--li。地址就是termux的局域网ip,端口一样8001。

4、支持 Https 方式重新启动 AnyProxy。

#启动

anyproxy -i

#其他命令行参数

-V, --version output the version number

-p, --port [value] proxy port, 8001 for default

-w, --web [value] web GUI port, 8002 for default

-r, --rule [value] path for rule file,

-l, --throttle [value] throttle speed in kb/s (kbyte / sec)

-i, --intercept intercept(decrypt) https requests when root CA exists

-s, --silent do not print anything into terminal

-c, --clear clear all the certificates and temp files

--ws-intercept intercept websocket

--ignore-unauthorized-ssl ignore all ssl error

-h, --help output usage information复制代码

5、抓包,打开你要抓包的app就可以抓包了。

打开网页,就可以看到你抓包的内容了,可以过滤一下域名,就好找一点。

最后视频教程:

b站:https://m.bilibili.com/video/BV1 ... mp;unique_k=Y0Nf7AQ

油管:https://youtu.be/IToNe-4_yS4

用户评论 0

暂无评论