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.
Most crucially, the iOS app grabs directly on the Windows PC and doesn't have to be on the Mac. The following describes the use steps
First, install Fiddler on PC
Step slightly.
Second, fiddler configuration (remember to restart fiddler after configuration)
Open Fiddler, tools-> Fiddler Options.
With "Decrpt HTTPS Traffic" selected, fiddler can intercept HTTPS requests
Select Allow remote computers to connect. is to allow other machines to send HTTP/HTTPS requests to fiddler.
Third, mobile phone configuration
(1) Network proxy settings
Installing Fiddler machines, with the iphone (ipad) must be on the same network, or the iphone (ipad) will not send HTTP to the Fiddler machine. In general, we are on hand desktop and mobile phones, desktop only network cable, no wireless WiFi, so and the phone is not the same network, then we need to set up a proxy
Open the iphone, find your network connection, open the HTTP proxy, enter the IP address of the machine where the fiddler is located (e.g. 192.168.1.104), and the port number of fiddler 8888
(2) Fiddler certificate installation
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
Now that you're done, you can grab the bag. Http/https from apps on the iphone (such as Safari, Firefox, Itunes, App Store) can be retrieved by 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.
Iv. Matters of note
(1) When you're done, remember to turn off the fiddler agent on the iphone (ipad) so that the iphone doesn't get online.
(2) HTTP can only be captured, but not HTTPS solution
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
HTTP grab for iOS app using fiddler