HTTP protocol Debug Proxy tool fiddler

Source: Internet
Author: User
Tags decrypt

Fiddler is a Web debugging tool that records all client-to-server HTTP requests. When Fiddler starts, it will default to the 127.0.0.1:8888 of IE browser, and other browsers will be set manually.


Working principle:

fiddler is in the form of a proxy Web server, which uses proxy addresses: 127.0.0.1 port: 8888

650) this.width=650; "Src=" Https://s3.51cto.com/oss/201711/04/29f64707fba1938519b582872538b15d.jpg-wh_500x0-wm_3 -wmp_4-s_1485731810.jpg "title=" fidder_pro.jpg "alt=" 29f64707fba1938519b582872538b15d.jpg-wh_ "/>

Fiddler Crawl HTTPS settings:

1. Start Fiddler, open the Tools>telerik Fiddler options in the menu bar, and Open the Fiddler Options dialog box.

650) this.width=650; "Src=" Https://s5.51cto.com/oss/201711/04/c0ddc8bed4720d8fdb26269b7182fd45.png-wh_500x0-wm_3 -wmp_4-s_4127159808.png "title=" 01-fidder.png "alt=" C0ddc8bed4720d8fdb26269b7182fd45.png-wh_ "/>

2. Set the Fiddler:


    • Open the toolbar->tools->fiddler Options->https

    • Select Capture HTTPS connects (catch HTTPS connection)

    • Select decrypt HTTPS traffic (decrypt HTTPS communication)

    • In addition, set Fiddler to get HTTPS requests for all the processes in the machine, so the drop-down menu in the middle selects from all process,

650) this.width=650; "Src=" Https://s3.51cto.com/oss/201711/04/cc7a0cae4a1bbabe33bbdfe314ddf7a4.png-wh_500x0-wm_3 -wmp_4-s_15984240.png "title=" 01-fidder_01.png "alt=" Cc7a0cae4a1bbabe33bbdfe314ddf7a4.png-wh_ "/>

3. Configure Windows Trust this root certificate for fiddler to resolve security Warning: Trust root Certificate (Trusted root certificate)


650) this.width=650; "Src=" Https://s5.51cto.com/oss/201711/04/9589ae472bb6314ae6bdea992486c7b9.png-wh_500x0-wm_3 -wmp_4-s_1866800030.png "title=" 01-fidder_03.png "alt=" 9589ae472bb6314ae6bdea992486c7b9.png-wh_ "/>

4.Fiddler main Menu Tools->fiddler Options->connections

      • Select Allow remote computers to connect (allows connection remotely)

      • Act as System Proxy on startup (as a system boot agent)

650) this.width=650; "Src=" Https://s4.51cto.com/oss/201711/04/4b114f8dc82b0639ce3f9c2008fb3ecf.png-wh_500x0-wm_3 -wmp_4-s_426771129.png "title=" 01-fidder_02.png "alt=" 4b114f8dc82b0639ce3f9c2008fb3ecf.png-wh_ "/>

5. Restart the fiddler to make the configuration effective (necessary)


Fiddler capturing Chrome's session:

1. Install the Switchyomega agent Chrome browser plugin

650) this.width=650; "Src=" Https://s1.51cto.com/oss/201711/04/516c17a3494449560628824f3edb22ac.png-wh_500x0-wm_3 -wmp_4-s_1933671306.png "title=" Switchyomega.png "alt=" 516c17a3494449560628824f3edb22ac.png-wh_ "/>

2., set the proxy server to 127.0.0.1:8888

650) this.width=650; "Src=" Https://s2.51cto.com/oss/201711/04/a40b87d2e6693656cb264e619a27b847.png-wh_500x0-wm_3 -wmp_4-s_225602982.png "title=" Switchyomega_setting.png "alt=" A40b87d2e6693656cb264e619a27b847.png-wh_ "/>

3. Switch the set-up agent via the browser plugin

650) this.width=650; "Src=" Https://s2.51cto.com/oss/201711/04/ee06507037d54e08f57f5c4b14b30252.png-wh_500x0-wm_3 -wmp_4-s_2810963549.png "title=" Switchyomega_switch.png "alt=" Ee06507037d54e08f57f5c4b14b30252.png-wh_ "/>

Fiddler interface:

After the setup is complete, the native HTTP communication will pass through the 127.0.0.1:8888 proxy, and it will be intercepted by fiddler.

650) this.width=650; "Src=" Https://s1.51cto.com/oss/201711/04/5af552b64e4c5ba5322e535d85bb7968.png-wh_500x0-wm_3 -wmp_4-s_2207292344.png "title=" Fidder_show.png "alt=" 5af552b64e4c5ba5322e535d85bb7968.png-wh_ "/>


The request section is detailed:

headers--displays the header of the HTTP request sent by the client to the server, displayed as a hierarchical view that contains WEB client information, cookies, transmission status, and so on. textview--displays the body part of the POST request as text. webforms--displays the requested GET parameters and the POST body contents. hexview--displays the request with hexadecimal data. auth--Displays the Proxy-authorization (proxy authentication) and Authorization (authorization) information in the response header. raw--displays the entire request as plain text. JSON-Displays the JSON format file. xml--if the body of the request is in XML format, it is displayed with a hierarchical XML tree.

The response (Response) section is detailed:

transformer--Displays the encoding information for the response. headers--displays the header of the response with a graduated view. The textview--uses text to display the corresponding body. imagevies--If the request is a picture resource, display a picture of the response. hexview--displays the response with hexadecimal data. The webview--responds to the preview effect in the Web browser. auth--Displays the Proxy-authorization (proxy authentication) and Authorization (authorization) information in the response header. caching--displays the cached information for this request. privacy--Displays the private (P3P) information for this request. raw--displays the entire response as plain text. JSON-Displays the JSON format file. xml--if the body of the response is in XML format, it is displayed with a hierarchical XML tree.


HTTP protocol Debug Proxy tool 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.