Fiddler (iv) realize the clutch of mobile phone
Fiddler is my favorite tool, used almost every day, I've been using it for 8 years. So far I have only learned about 50% of the features. Fiddler is definitely called "artifact", and anyone who does it can get it.
I am determined to make sure that all the functions and usages of Fiddler are written. Write a complete series of tutorials.
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.
This article describes fiddler intercept iphone issued by Http/https pack
The precondition is: Install Fiddler machine, with iphone in the same network, otherwise the iphone can't send http to fiddler machine.
Read Catalogue
- What is the use of intercepting the HTTP packets sent by your smartphone?
- Configure Fiddler to allow remote connections
- Get the IP address of the machine where the fiddler resides
- Install Fiddler certificate on iphone
- Configure Fiddler as Agent on iphone
- It's done, start grabbing the bag.
- Only HTTP can be captured, not HTTPS solution
- Fiddler capturing other phones or tablets
What is the use of intercepting the HTTP packets sent by your smartphone?
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).
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.
Get the IP address of the machine where the fiddler resides
That's easy. The address of the machine where I fidder is: 192.168.1.104
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 iphone
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
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.
Only HTTP can be captured, 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
Fiddler capturing other phones or tablets
Method is similar
Attached: Fiddler series tutorials, (in serial, please look forward to)
Fiddler (i) tutorial
Fiddler (ii) Script usage
Fiddler (iii) composer create and send HTTP Request
Fiddler (iv) realize the clutch of mobile phone
Fiddler (v) Use Fiddler under Mac
Fiddler (vi) The most commonly used shortcut keys
Fiddler (iv) realize the clutch of mobile phone