Use Fiddler tool to grab mobile phone HTTP and HTTPS packets

Using fiddler version V4, the entire interface framework is as shown below.



1. How to set up to capture http packets

1, fiddler -> tools -> fiddler options -> connections -> 勾选 "Allow remote computers to connect",

2, Run cmd on the computer, enter ipconfig, check the IP address of the computer

3. Enter the settings on the mobile terminal -> WIFI -> enter the connected WIFI (need to connect to the same wifi as the computer) -> set the proxy to "manual", host name: computer IP, port: 8888, IP setting: DHCP -> OK .

4. Use the mobile APP or mobile browser to browse the web, and there should be HTTP packets captured in the fiddler session area.


Second, how to set up to capture https packets

1. See http://www.jianshu.com/p/54dd21c50f21 for the principle of capturing https messages

2. fiddler -> tools -> fiddler options -> HTTPS -> check as shown in the figure, if you grab a mobile phone, you can choose from remote clients only.


3, Follow the prompts to download the CA certificate

4, Open the mobile browser, enter "computer IP:8888" in the address bar, click to download FiddlerRoot certificate.

5. After the installation is complete, fiddler can capture HTTPS packets.


Third, see the decoded complete message in the TextView area of ​​Response

Click Decode in the toolbar to stay in the decode state, and the captured packets will be automatically decoded.

Four, Filter settings





Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325813098&siteId=291194637