zoukankan      html  css  js  c++  java
  • Fiddler for device

    Install Fiddler on cp

      1. Open Fiddler, Tools > Otpion > Connections, keep port in 8888 > HTTPS, and check "Allow remote computers to connect";

        

      2. Tools > Otpion > HTTPS, check "Decrypt HTTPS traffic";

                  

      3. Close Fillder and reopen again, above settings will active.

    How to use Fiddler to capture network trace on Android Devices?

    Configure Fiddler

    1. Click Tools > Fiddler Options > Connections.
    2. Ensure that the checkbox by Allow remote computers to connect is checked.
    3. If you check the box, restart Fiddler.
    4. Hover over the Online indicator at the far right of the Fiddler toolbar to display the IP address of the Fiddler server.

    Configure Android Device

    1. Open android devices Settings > Wi-Fi.
    2. Tap and hold your current Wi-Fi network. Select Modify Network.

               

        3. Tap the Show advanced options > Proxy settings dropdown and select Manual and Type the IP address and port (usually 8888) of the Fiddler server, eg:192.168.1.164:8888

         

        4. To verify this configuration, open browser on devices, go to http://fiddler IP:8888/. should display the Fiddler Echo Service webpage, and the traffic should appear in Fiddler.

    Decrypt HTTPS trust FiddlerRoot Certificate

    1. On the Fiddler Echo Service Webpage, click the FiddlerRoot Certificate link.
    2. Install the certificate FiddlerRoot Certificate 

          

         

    How to use Fiddler to capture network trace on iOS Devices?

    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. On the iOS device, go to http://fiddler server IP:8888/ in a browser.
    2. From the bottom of the Fiddler Echo Service webpage, download the FiddlerRoot certificate.

           

        3. Open the FiddlerRoot.cer file.

        4. Tap the Install button.

              

        5. Tap the Install button again.

         

        Note: On iOS 10 and later, after installing the Fiddler Root certificate, go to Settings -> General -> About -> Certificate Trust Settings and manually enable full trust for the Fiddler Root root certificate. Accept the dialog that says that this will allow a third-party to eavesdrop on all your communications.

        

  • 相关阅读:
    【提高测试】飘雪圣域(树状数组)
    【BZOJ2820】YY的GCD(莫比乌斯反演)
    【BZOJ2301】【HAOI2011】—Problem b(莫比乌斯反演)
    【POJ2318】—TOYS(计算几何)
    React-状态提升
    React-表单
    React-条件渲染
    React-列表 & Key
    React-HelloWorld
    MongoDB中的读写锁
  • 原文地址:https://www.cnblogs.com/lj8023wh/p/8856097.html
Copyright © 2011-2022 走看看