首页 > 移动平台 > 详细

IOS手机使用Fiddler抓获HTTPS报文方法

时间:2017-02-10 12:51:09      阅读:545      评论:0      收藏:0      [点我收藏+]

Configure Fiddler

  1. Click Tools > Fiddler Options > Connections.

  2. Click the checkbox by Allow remote computers to connect.

    技术分享

  3. Restart Fiddler.

  4. Ensure your firewall allows incoming connections to the Fiddler process.

  5. Hover over the Online indicator at the far right of the Fiddler toolbar to display the IP addresses assigned to Fiddler‘s machine.

    技术分享

  6. Verify client iOS device can reach Fiddler by navigating in the browser to http://FiddlerMachineIP:8888. This address should return the Fiddler Echo Service page.

  7. For iPhone: Disable the 3g/4g connection.

Set the iOS Device Proxy

  1. Tap Settings > General > Network > Wi-Fi.

  2. Tap the settings for the Wi-Fi network.

  3. Tap the Manual option in the HTTP Proxy section.

  4. In the Server box, type the IP address or hostname of your Fiddler instance.

  5. In the Port box, type the port Fiddler is listening on (usually 8888).

  6. Ensure the Authentication slider is set to Off.

    技术分享

Decrypt HTTPS Traffic from iOS Devices

  1. Download the Certificate Maker plugin for Fiddler.

  2. Install the Certificate Maker plugin.

  3. Restart Fiddler.

  4. Configure the device where Fiddler is installed to trust Fiddler root certificate.

  5. On the iOS device, go to http://ipv4.fiddler:8888/ in a browser.

  6. From the bottom of the Fiddler Echo Service webpage, download the FiddlerRoot certificate.

    技术分享

  7. Open the FiddlerRoot.cer file.

  8. Tap the Install button.

    技术分享

  9. Tap the Install button again.

    技术分享

Uninstall FiddlerRoot Certificate

If you decide to uninstall the root certificate:

  1. Tap the Settings app.

  2. Tap General.

  3. Scroll to Profiles.

  4. Tap the DO_NOT_TRUST_FiddlerRoot* profile.

  5. Tap Remove.

IOS手机使用Fiddler抓获HTTPS报文方法

原文:http://www.cnblogs.com/hushaojun/p/6385749.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!