1.Charles介绍:
1.1:Charles is an HTTP proxy / HTTP monitor / Reverse Proxy that enables a developer to view all of the HTTP and SSL / HTTPS traffic between their machine and the Internet. This includes requests, responses and the HTTP headers (which contain the cookies and caching information).
1.2:Charles官网:
2.手机抓包配置:
2.1:手机、电脑处于同一局域网环境
2.2:查看Mac IPv4地址->系统偏好设置->网络->Wi-Fi->高级->TCP/IP->IPv4地址->地址发送给手机端
2.3:手机Wi-Fi->高级->HTTP代理->手动->服务器填写Mac IPv4地址,端口填8888(Charles默认值)
2.4:Mac端打开Charles->"alloc mobile..."
2.5开始抓包