Https抓包

lighkLife發表於2019-04-03

啟動遠端SSL代理

![Screenshot from 2017-08-15 11-15-43](lighklife.github.io/img/2017/Sc… from 2017-08-15 11-15-43.png)

按照提示將設定手機代理,並安裝證書

![Screenshot from 2017-08-15 11-22-04](lighklife.github.io/img/2017/Sc… from 2017-08-15 11-22-04.png)

選擇手機所連線的wifi,長按彈出修改框,選擇 Manual 手動,輸入Charles提示的代理IP與埠

Selection_010

此過程中Charles會詢問是否信任,選擇Allow

![Screenshot from 2017-08-15 11-23-56](lighklife.github.io/img/2017/Sc… from 2017-08-15 11-23-56.png)

瀏覽器輸入Charles提示的網址 chls.pro/ssl, 安裝證書

Selection_011

Charles SSL 代理設定

![Screenshot from 2017-08-15 11-18-05](lighklife.github.io/img/2017/Sc… from 2017-08-15 11-18-05.png)

![Screenshot from 2017-08-15 11-18-18](lighklife.github.io/img/2017/Sc… from 2017-08-15 11-18-18.png)

重啟 Charles,可以看到已經可以看到解密後的Https傳輸內容

![Screenshot from 2017-08-15 11-52-24](lighklife.github.io/img/2017/Sc… from 2017-08-15 11-52-24.png)

相關文章