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
- Post-installation configuration port: Tools->fiddler Options->connections->fiddler listens on port:8888 (default)
- 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)