Http/https's request to catch the phone with fiddler

Source: Internet
Author: User

First of all, Fiddler can grasp the web-side request, but also can crawl the phone side of the request. Here is the main introduction to grab the phone side of the request, because the installation of Fiddler, the default can crawl the Web HTTP request, to catch the request of HTTPS, set a bit OK.

The principle of Http\https for catching a mobile phone

650) this.width=650; "title=" Fiddler.png "alt=" wkiom1ncninrfjilaabarqh0pbg173.png-wh_50 "src=" https://s2.51cto.com /wyfs02/m00/07/07/wkiom1ncninrfjilaabarqh0pbg173.png-wh_500x0-wm_3-wmp_4-s_1567787841.png "/>

Pre-conditions:

1. PC (install fiddler), Phone (send HTTP, https request)

2. Ensure that the computer and mobile phone are in the same LAN. In the case of notebooks and mobile phones, two connected to the same wifi is OK, such as desktop computers and mobile phones, desktop computers connected to the cable, mobile phone connection wireless, as long as the same router on the line.

Operation Steps:

1. First install fiddler to the computer, here omitted, can go to see my another article (fiddler installation).

2. Configure the crawl HTTPS request in Fiddler because the installed fiddler automatically crawls the HTTP request

    • Open the Fiddler menu item Tools->telerikfiddler Options->https,

      Tick decrypt HTTPS traffic and ignore servercertificate errors two items, click OK, for example.

650) this.width=650; "title=" 11.png "alt=" wkiom1ncoowdvwx-aaj4k0lcip0365.png-wh_50 "src=" https://s5.51cto.com/ Wyfs02/m00/07/07/wkiom1ncoowdvwx-aaj4k0lcip0365.png-wh_500x0-wm_3-wmp_4-s_431876281.png "/>

    • The first click OK will pop up whether to trust the Fiddler certificate and Security prompts, directly click Yes on the line.

3. Configure the Allow remote connection in fiddler

    • In the previous step window, click Tools->telerikfiddler options->connections, tick allow remote computers to connect, the default listening port is 8888 (that is, the port number), If the port is occupied can be set to other, after configuration to restart the fiddler, such as:

      650) this.width=650; "title=" 22.png "alt=" wkiol1ncozkggvoeaakiwuisfzo891.png-wh_50 "src=" https://s2.51cto.com/ Wyfs02/m00/a5/b8/wkiol1ncozkggvoeaakiwuisfzo891.png-wh_500x0-wm_3-wmp_4-s_3508752563.png "/>

4. Turn on your phone to make sure your computer and phone are on the same LAN.

5. Open your mobile browser: Enter HTTP://IP: Port number

IP is the IP of your computer (with fiddler) and the port number is 8888 above

such as: http:192.168.3.119:8888, such as.

650) this.width=650; "title=" Mobile Installation certificate. png "alt=" wkiom1ncqdqjz9vnaaefhktyjcm108.png-wh_50 "src=" https://s5.51cto.com/ Wyfs02/m00/07/08/wkiom1ncqdqjz9vnaaefhktyjcm108.png-wh_500x0-wm_3-wmp_4-s_28857058.png "/>

6. Click Fiddlerroot Certificate

7. Give the certificate a name, click OK, for example.

8. Ask to set a phone password, set one yourself, remember the password on the line, and finally do not have to go to the system-security-the password can be removed;

9. Open the phone settings, find the proxy settings, change to manual, enter the server and port number, it is done.

650) this.width=650; "title=" proxy settings. png "alt=" wkiom1ncrnqxj-s5aaciug4kfgm914.png-wh_50 "src=" https://s4.51cto.com/ Wyfs02/m02/07/08/wkiom1ncrnqxj-s5aaciug4kfgm914.png-wh_500x0-wm_3-wmp_4-s_3241594493.png "/>

10. The mobile phone opens the browser, enters the Baidu, goes to fiddler the view, will display some HTTP information, succeeds.

Don't grab the bag:

1. Stop computer-to-phone network monitoring

System Setup-wifi, find agent, remove can;

2. Delete a certificate from your phone

Android system Settings-security-trusted credentials-users, click on the certificate to delete;

3. Delete the password on your phone

Mobile System-Security-password, delete the system password can be;

This article is from the "11206726" blog, please be sure to keep this source http://11216726.blog.51cto.com/11206726/1967244

Http/https's request to catch the phone with fiddler

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.