Fiddler how to analyze the iphone's data _fiddler

Source: Internet
Author: User

Fiddler not only intercepts HTTP requests from various browsers, but also intercepts HTTP/HTTPS requests made by various smartphones.

Fiddler can capture requests from iOS devices, such as the iphone, IPad, and MacBook.  Wait for the Apple device. Similarly, can also intercept andriod,windows phone and other equipment issued by the HTTP/HTTPS.

This article describes fiddler intercepts the iphone HTTP/HTTPS packets

The prerequisite is: Install the Fiddler machine, with the iphone in the same network, otherwise the iphone can not send HTTP to the Fiddler machine.

Reading catalogs What's the use of intercepting the HTTP packets sent by smartphones? Configure Fiddler to allow remote connections to get Fiddler's machine's IP address installed on the iphone install fiddler certificate on the iphone configure Fiddler as Agent is done, start grabbing packets can only capture HTTP, but cannot capture HTTPS solution Fiddler capture other phones or tablets

What is the use of intercepting the HTTP packets sent by smartphones?

Useful one: Mobile software programmers can use Fiddler to intercept the HTTP packets emitted by mobile phones, thus debugging programs

Usefulness two: Software testers are used to test software on smartphones.

Use three: can be used in App store to brush rank

Use four: After intercepting the Http/https, you can do whatever you want, such as modifying request, or response.

Configure Fiddler to allow remote connections

Open Fiddler, tools-> Fiddler Options. (Remember to restart fiddler after configuration).

Fiddler can intercept HTTPS requests by checking "Decrpt HTTPS traffic"

Select "Allow remote computers to connect". is to allow other machines to send HTTP/HTTPS requests to fiddler.

Get the IP address of the machine where fiddler resides

That's easy. The machine address where I fidder is: 192.168.1.104

Install Fiddler certificate on iphone

This step is designed to allow Fiddler to capture HTTPS requests. If you only need to intercept HTTP requests, you can ignore this step

1. First you need to know the IP address of the machine where Fiddler resides: If I installed the Fiddler machine IP address is: 192.168.1.104

2. Open the iphone Safari, visit http://192.168.1.104:8888, click "Fiddlerroot Certificate" and install the certificate

Configure Fiddler as Agent on iphone

Open the iphone, find your network connection, open the HTTP proxy, enter the IP address of the Fiddler machine (for example: 192.168.1.104) and the fiddler port number 8888

Start grabbing the bag.

Now apps on the iphone (such as Safari, Firefox, Itunes, App Store) can be Http/https by fiddler.

Example: Open Safari,

1. Enter Http://www.cnblogs.com/tankxiao. See if Fiddler can capture.

2. Enter https://dynamic.12306.cn/otsweb/to see if Fiddler can capture.

are both HTTP and HTTPS intercepted .... , you can not only intercept, but also the next breakpoint, modify request, modify response, do what you want.

When you're done with it, remember to turn off the fiddler agent on your iphone so that the iphone doesn't go online.

Only HTTP can be captured, but not HTTPS solution

It is sometimes found that Fiddler can only capture the HTTP requests made by the iphone and not capture HTTPS requests, possibly because the certificate is not installed properly. The solution is:

1. Delete all the fiddler certificates on the iphone (take out the iphone, click "Set"-> "General"-> "description file")

2. Install the above method, reinstall the Fiddler certificate

Fiddler capture other phones or tablets

Method is similar

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.