Mobile phone with fiddler grab Bag
The computer is preferably a notebook, so that it can maintain a unified LAN with the mobile phone, other than say, directly said steps.
I. Configuring the PC (notebook) parameters
1. Configure Fiddler to allow the monitoring of HTTPS (Fiddler is only fetching HTTP format by default)
Open the Fiddler menu item tools->telerikfiddler Options->https,
Tick Capturehttps connects, click Actions,
Tick Decrypt HTTPS traffic and Ignore servercertificate errors Two items, click OK (first click will pop up whether to trust fiddler certificate and Security prompt, Click Yes directly ), see figure:
2. Configure Fiddler to allow remote connections
In the previous step window, click Tools->telerikfiddler options->Connections, and select Allow remote computers to connect, The default listening port is 8888 (Fiddler listens on port is the port number), if the port is occupied can be set to other, configured to restart Fiddler, such as:
Click Finish, the PC-side configuration is complete , the next start to configure the mobile phone, Android as an example, iOS method with Android;
Two. Configure the parameters on the phone side
First of all to ensure that mobile phones and computers are in the same network;
Then want to know the computer's IP address (of course, this computer is installed fiddler computer), the computer IP address can be through cmd, input ipconfig query, or network share IPv4 found, my is 192.168.103.53,
And to know the port number of the Fiddler, Tools->telerikfiddler Options->connections,port is the port number, the general default is 8888; then start to operate the phone;
1. First step: mobile phone and computer connected to the same network, open the mobile browser, enter HTTP://IP: Port number , click to go; see:
2. Step two: after going to the certificate download page, see:
Click fiddlerrootcertificate to download the certificate;
3. Step three : Click on the download, install the certificate and a name, casually write on the line, click OK;
4. Fourth step: ask to set a mobile phone password, set one yourself, remember the password on the line, and finally do not have to go to the system-security-the password can be removed;
5. Fifth Step: change the agent of Mobile wireless network
Mobile system Settings-Wireless network-click Advanced, Agent Select Manual, hostname is fiddler computer IP address, port number, is the port number of fiddler, and the browser IP: port number consistent, click OK,
6. Operation of mobile phone , computer fiddler will display some HTTP information, success;
Three. Other
1. Stop computer-to-phone network monitoring
System Setup-wifi, find agent, remove can;
2. Delete a certificate from your phone
Android system Settings-security-trusted credentials-users, click on the certificate to delete;
3. Delete the password on your phone
Mobile System-Security-password, delete the system password can be;
Fiddler Mobile capture package, support front-end code debugging