1. 程式人生 > >使用Fiddler對IOS系統進行HTTP抓包

使用Fiddler對IOS系統進行HTTP抓包

  1. Click Tools > Fiddler Options > Connections.

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

    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.

    Online Tooltip

  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.

  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.

    iOS Proxy Settings

  1. Install the Certificate Maker plugin.

  2. Restart Fiddler.

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

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

    Download FiddlerRoot Certificate

  5. Open the FiddlerRoot.cer file.

  6. Tap the Install button.

    Install Profile

  7. Tap the Install button again.

    Warning

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.