Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

APP grab package-- Fiddler tool

2025-01-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Fiddler introduction: Fiddler is one of the powerful and easy-to-use Web debugging tools, it can record client and server http and https requests, allowing you to monitor, set breakpoints, and even modify input and output data.

The operation mechanism of Fiddler is actually the http agent that listens on port 8888 on the local machine. When the PC Fiddler starts, the default IE proxy is set to 127.0.0.1 Chrome 8888, while other browsers need to be set manually, so if you need to listen to PC Chrome network requests, change its proxy to 127.0.0.1 http 8888 to listen for data, and the mobile phone can complete the http proxy of the entire system according to the following settings.

The first step is to download Fiddler. Download link: [url=] http://fiddler2.com/get/fiddler[/url]

After the download is complete, install.

Step 2, set up Fiddler

Open fiddler,Tools,Fiddler Options (restart Fiddler after configuration is complete)

Select "Decrpt HTTPS traffic" Fiddler to intercept HTTPS requests

Check "Allow remote computers to connect" to allow other machines to send HTTP/HTTPS requests to Fiddler.

Port number is: 8888

Step 3: set up Android phones

First get the ip address of PC, enter ipconfig on the command line, and get the ip address

The following is the proxy setting for Android phones (Xiaomi 4)

First, make sure that the phone and PC are connected on the same local area network, enter the settings of the phone, click to enter the WLAN settings, select the wireless network to which you are connected, and click the arrow on the right (some phones are long-pressed pop-up options box), as shown in the figure:

For this line, select Manual.

Select to modify the network configuration:

1. Configure the host name, which is consistent with the ip address of the host computer.

2. Port number: 8888

Click Save and the phone is set up successfully.

Step 4: open the APP you want to test, and then open the Fiddler interface on your computer, as shown below:

In this way, the packet capture of the Android mobile terminal is successful, which is helpful for the subsequent debugging of the network data request, and can be used to determine whether the requested network is successful or not.

Note: for general http requests, there is no need to install a security certificate. If it is a https request, after setting the proxy, it will be inaccessible. At this time, you need to install a security certificate.

Step 5: download the Fiddler security certificate

Use the phone's browser to open it, http://10.224.xx.xx:8888

Click "FiddlerRoot certificate" to install the certificate. As shown in the figure:

Grab the bag is a success, in addition to grasp the bag, but also learn data analysis. Http protocol!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report