Charles 抓包模拟器

2020-03-13  本文已影响0人  Jack_King_

1、勾选 Charles MacOS Proxy 设置

Charles -> Proxy -> MacOS Proxy

2、Charles 弹出警告(将 Charles 移至 Applications 文件夹中):

Charles cannot configure your proxy settings while it is on a read-only volume. Perhaps you are running Charles from the disk image? If so, please copy Charles to the Applications folder and run it again. Otherwise please ensure that Charles is running on a volume that is read-write and try again.

3、处理 Charles 警告、命令行工具输入如下两条命令

sudo chown -R root "/Applications/Charles.app/Contents/Resources"
sudo chmod -R u+s "/Applications/Charles.app/Contents/Resources"

4、勾选 MacOS Charles Proxy 设置

这样就可以正常抓包啦

上一篇 下一篇

猜你喜欢

热点阅读