IOS手机使用Fiddler抓包(HTTPS)(二)

Configure Fiddler

  1. Click Tools > Fiddler Options > Connections.
  2. Click the checkbox by Allow remote computers to connect.
  1. Restart Fiddler.
  2. Ensure your firewall allows incoming connections to the Fiddler process.
  3. Hover over the Online indicator at the far right of the Fiddler toolbar to display the IP addresses assigned to Fiddler's machine.
  1. 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.
  2. For iPhone: Disable the 3g/4g connection.
  3. Tap Settings > General > Network > Wi-Fi.
  4. Tap the settings for the Wi-Fi network.
  5. Tap the Manual option in the HTTP Proxy section.
  6. In the Server box, type the IP address or hostname of your Fiddler instance.
  7. In the Port box, type the port Fiddler is listening on (usually 8888).
  8. Ensure the Authentication slider is set to Off.

Set the iOS Device Proxy

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.
  1. Open the FiddlerRoot.cer file.
  2. Tap the Install button.
  1. 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报文方法

Configure Fiddler

  1. Click Tools > Fiddler Options > Connections.
  2. Click the checkbox by Allow remote computers to connect.
  1. Restart Fiddler.
  2. Ensure your firewall allows incoming connections to the Fiddler process.
  3. Hover over the Online indicator at the far right of the Fiddler toolbar to display the IP addresses assigned to Fiddler's machine.
  1. 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.
  2. For iPhone: Disable the 3g/4g connection.
  3. Tap Settings > General > Network > Wi-Fi.
  4. Tap the settings for the Wi-Fi network.
  5. Tap the Manual option in the HTTP Proxy section.
  6. In the Server box, type the IP address or hostname of your Fiddler instance.
  7. In the Port box, type the port Fiddler is listening on (usually 8888).
  8. Ensure the Authentication slider is set to Off.

Set the iOS Device Proxy

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.
  1. Open the FiddlerRoot.cer file.
  2. Tap the Install button.
  1. 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.

猜你喜欢

转载自www.cnblogs.com/zhaoyq/p/9334729.html