Grab a bag on Android with fiddler (Http+https)

Source: Internet
Author: User

Fiddler is an HTTP protocol debugging Agent tool, often used in the development of network applications, its most basic role is to catch HTTP packets, of course, it has more advanced usage, such as adding breakpoints, modifying requests and corresponding data, etc...

Catching HTTP packets
    1. Post-installation configuration port: Tools->fiddler Options->connections->fiddler listens on port:8888 (default)
    2. Tick allow remote computers to connect

3. Go to the Wi-Fi connection on your Android device, and add the proxy IP and port by long pressing the show advanced options, such as Modify network


This allows us to view the request package on the Fidder on the phone.


Grab HTTPS packetsThe HTTPS protocol is a network protocol built by the SSL+HTTP protocol for encrypted transmission and authentication, and HTTPS requires a CA certificate, SSL is validated by the CA certificate, and the data is encrypted. to allow Fiddler to support the capture of HTTPS packets, we need to open it in the settings and add the CA certificate to the system

< Span style= "Color:rgb (85,85,85); Font-family:"microsoft yahei"; font-size:14px; line-height:35px ">1, Enter Tools->fiddler Options->https, tick decrypt HTTPS traffic, select actions button in export Root Certificate to desktop exporting the certificate file fiddlerroot.cer



< Span style= "Color:rgb (85,85,85); Font-family:"microsoft yahei"; font-size:14px; line-height:35px ">2, copy fiddlerroot.cer certificate to SDcard, and then add the certificate from the USB memory installation via secure credential store. (or, on Android devices, enter http://192.168.xx.xx:8888/

< Span style= "Color:rgb (85,85,85); Font-family:"microsoft yahei"; font-size:14px; line-height:35px ">

< Span style= "Color:rgb (85,85,85); Font-family:"microsoft yahei"; font-size:14px; line-height:35px ">

< Span style= "Color:rgb (85,85,85); Font-family:"microsoft yahei"; font-size:14px; line-height:35px "> After the above steps, you can crawl the HTTPS package.


Grab a bag on Android with fiddler (Http+https)

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.