Request fiddler phone using fiddler crawl phone
Today want to try to grab a bag on the phone and find a fun gadget--fiddler.
Fiddler is a specialized grab bag tool that can simulate requests, modify requests, and debug mobile applications. It's a pretty interesting gadget.
1. Download and install
Fiddler:http://www.telerik.com/download/fiddler
The installation procedure is relatively simple answer, does not introduce. It's going to be the next step.
2. Configure the PC-side fiddler and Phone (1) configuration fiddler allow monitoring HTTPS
Open the Fiddler menu item Tools->fiddler Options, select decrypt HTTPS traffic and ignore server certificate errors two items, such as:
Fiddler HTTPS settings. jpg
For the first time, you will be prompted to trust the fiddler certificate and Security reminder, select Yes, and then manage it in the system's certificate management
(2) Configure Fiddler allow remote Connection
Click Connections in the menu, select Allow remote computers to connect, the default listening port is 8888, if it is occupied can also be set, configured to restart the fiddler, such as:
Fiddler connection port number setting. jpg
(3) Configure the phone side
PC-side command line ipconfig view fiddler machine IP, native IP is 192.168.45.105, as
View your ip.jpg
Open your phone to connect to the same LAN WiFi, and modify the WiFi network details (long press WiFi selection, modify network), display advanced options, select Manual proxy settings, host name fill fiddler machine IP, Port fill fiddler port, default 8888, Such as:
Manually set up proxy. jpg on the phone side
At this point, the network access on the phone in fiddler can be viewed, such as the Hundred-word slash network request:
Fiddler looked at the results of the phone request. jpg
You can double-click a line of network requests, and the right side will display the specific request contents (requests header) and the returned content (Response header and content), such as:
Fiddler looked at the results of the phone request. jpg
Creation of the root certificate is not successful error problem
Generally the first time, Fiddler will prompt the following error message:
Creation of the root certificate is not successful
Workaround:
1. Open cmd
2, enter the Fillder directory
Since I am installed on the e-drive, my command is:
cmd command. jpg
Then enter the following command:
"CN=DO_NOT_TRUST_FiddlerRoot, O=DO_NOT_TRUST, OU=Created by http://www.fiddler2.com"1.3.6.1.5.5.7.3.1112009/05/2012
cmd command. jpg
If it succeeds,
Open Web page: http://xxx:8888/Click (XXX is your computer IP address, My Computer IP is: 192.168.45.105, so fill this, if you IP different, please follow your local IP fill)
You can download the Fiddlerroot certificate
Phone-side. jpg
The HTTPS request is detected by installing the certificate.
Use fiddler to crawl phone requests