Taught you how to use Fiddler to fetch mobile phone data packet (iOS + Android)


title: Taught you how to grab the phone with Fiddler packet (iOS + Android)
DATE: 2019-7-24 12:25:22
category: "good things to share"
Tags: [File Transfer]
keywords: [Fiddler, phone]
- -

This article teaches you how to grab the phone side of the packet by Fiddler, including configuration and crawling iOS and Android side.

A, Fiddler download and install

Fiddler visit the official website: https://www.telerik.com/download/fiddler

Here we will be asked to fill out some things, just to fill in some

Download Page

After the download is complete, you can fool installation

Second, the computer-side configuration

1, https configuration

Tools-->Options-->HTTPS Enter the page

Refer to the configuration of FIG.

https configuration

2, certificate configuration

Click on the above page Actionsbutton, select the second option, the security certificate is exported to the desktop

Export security certificate

There such a stuff in page after export

Security Certificate

Double-click it to install the certificate

Certificate Installation

Direct Next -> Next to install

The next step

After the installation is successful, there will be tips:

Successful installation

3, connection configuration

Tools-->Options-->Connections Enter the page

Screenshot reference to the following configuration

Connection Configuration

After configuration is complete, restart Fiddler

Third, the mobile terminal configuration

1, see the IP address of the computer network

CMD window open, enter ipconfig

[liuhao.haha] ➤ ipconfig

Windows IP 配置

以太网适配器 VMware Network Adapter VMnet1:

   连接特定的 DNS 后缀 . . . . . . . :
   本地链接 IPv6 地址. . . . . . . . : fe80::601b:2a02:aea2:7a4b%33
   IPv4 地址 . . . . . . . . . . . . : 192.168.22.1
   子网掩码  . . . . . . . . . . . . : 255.255.255.0
   默认网关. . . . . . . . . . . . . :

以太网适配器 VMware Network Adapter VMnet8:

   连接特定的 DNS 后缀 . . . . . . . :
   本地链接 IPv6 地址. . . . . . . . : fe80::b07b:19b2:6d5f:25d3%29
   IPv4 地址 . . . . . . . . . . . . : 192.168.233.1
   子网掩码  . . . . . . . . . . . . : 255.255.255.0
   默认网关. . . . . . . . . . . . . :

无线局域网适配器 WLAN 2:

   连接特定的 DNS 后缀 . . . . . . . : lan
   本地链接 IPv6 地址. . . . . . . . : fe80::e1b8:429f:6251:3b44%35
   IPv4 地址 . . . . . . . . . . . . : 192.168.2.238
   子网掩码  . . . . . . . . . . . . : 255.255.255.0
   默认网关. . . . . . . . . . . . . : 192.168.2.1

If, like me, a lot of results

I do not know what is the local computer network how to do?

Open the Control Panel, search the adapter :

control panel

Open the View Web Links

Internet connection

That can be seen here, the name of the wireless network is connected to a corresponding: the WLAN 2

So, the local IP address that corresponds to: 192.168.2.238

2, phone settings (Android)

2.1 Network Proxy Settings

Open the phone settings in the WLAN, press the wireless network is connected

Select Modify Network

Then select the Advanced Options

Select the agent for the manual 8888, to fill a proxy server for your computer IP, port fill just set

carry out

2.2 download and install the certificate

Android configuration

Open your phone's browser, visit 192.168.2.238:8888

Under normal circumstances, you can enter the following page

Click on the bottom link to download the certificate

Certificate download page

After the certificate download page will pop up installation

When installed, the name can easily fill

Install Certificate

Note that here is the use of a drop-down box

I do not know what's the difference, we can download twice on the same page

Respectively, the installation of a two purposes, with a different name

So far, the mobile terminal is set up

Different phone operating procedures may be biased

But similar

3, phone settings (iOS)

3.1 Network Proxy Settings

iOS devices enter the phone settings: Wireless LAN

Click on the symbol at the far right of the wireless network has been connected into the network settings

Wireless LAN

Similarly, select Manual proxy configuration

And enter the IP and port

Manual proxy configuration

3.2 Certificate Download

After the setup is complete, the same open a browser, access 192.168.2.238:8888

Under normal circumstances, you can enter the following page

Click on the bottom link to download the certificate

Download certificate

The difference is that with Android, iOS here just to download, install and then also need to be set up inside the phone

Download completed

3.3 Certificate Installation

Settings -> General -> description file and device management

Then you will see the certificate download

Certificate Installation

Clicks, you can follow the prompts to install

3.4 full trust certificate (important)

Settings -> General -> About -> Certificate trust settings

The certificate Fidder is set to full trust

complete trust

If this step is missing setting, can not lead to some networking APP

Fourth, capture

After so many configurations, we can finally start a packet capture

In this case, access Baidu mobile browser Home

We can see a lot of request packets in the Fiddler

data pack

to sum up

So far, so after knock off.

As can be seen, some of the complicated settings on iOS than Android, iOS also reflects safer.

This article is to teach you how to grab the phone side of the packet by Fiddler.

As for how the data packet parsing, or Fiddler on how to use the content is not to be discussed in the article.

reference

1、https://blog.csdn.net/qq_36350532/article/details/79848686
2、https://testerhome.com/topics/15200

Guess you like

Origin www.cnblogs.com/hoxis/p/11512006.html