Fiddler grab bag for mobile phone data capture

Source: Internet
Author: User

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

Fiddler can capture requests from iOS devices, such as the iphone, IPad, and MacBook.  Wait for the Apple device. In the same vein, you can intercept the HTTP/HTTPS that andriod,windows phone devices emit.

The precondition is: Install Fiddler machine, with iphone in the same network, otherwise the iphone can't send http to fiddler machine.

Utility One: The Mobile software programmer uses fiddler to intercept the HTTP packets sent by the phone, thus debugging the program

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

Use three: can be used to brush rankings in the App Store

Usefulness four: After intercepting the Http/https, you do what you want to do, such as modify request, or response.

Configure Fiddler to allow remote connections

Open Fiddler, tools-> Fiddler Options. (Remember to restart Fiddler when you are finished configuring).

Select "Decrpt HTTPS traffic", Fiddler can intercept HTTPS requests

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 the fiddler resides

Open the network-click Network Connection-View details so that you can get the IP address of the machine


Set up proxy on Android Click WiFi Connection Select connected WiFi network (must be wifi on the same network as the machine)--Select proxy settings service to fill in the IP address of the machine--Port filled in fiddler The Connections settings in the options are set inside the fiddler listens on the four-digit number in the port

Run out, remember fiddler agent closed, so that the phone can not be on the net.




Install Fiddler certificate on iphone

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

1. First know the IP address of the machine where the Fiddler is located: If I install 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 iphoneOpen the iphone, find your network connection, open the HTTP proxy, enter the IP address of the machine where the Fiddler is located (for example: 192.168.1.104), and the fiddler port number 8888


It's done, start grabbing the bag.

Http/https from apps on the iphone (such as Safari, Firefox, Itunes, App Store) are now available for fiddler.

Example: Open Safari,

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

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

is HTTP and https intercepted???? , you can not only intercept, but also the breakpoint, modify the request, modify the response, do want.

when you're done, remember to turn off the fiddler agent on your iphone so that the iphone doesn't get online.

to view the captured data, for example:can view the requested address, the request method, the obtained data

only HT can be capturedTP, but not the solution to capture HTTPS

Sometimes it turns out that Fiddler can only capture an HTTP request from the iphone, not the HTTPS request, possibly because the certificate is not installed. The solution is:

1. Remove all fiddler certificates from iphone (iphone, click "Settings", "General", "profile")

2. Install the above method to reinstall the Fiddler certificate


Fiddler grab bag for mobile phone data capture

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.