Use fiddler to grab the program on your phone

Source: Internet
Author: User

with Fiddler on the mobile phone program to grab the packet, there are a lot of information on the Internet, here to write down for backup.   Prerequisites:1. Be sure to install fiddler computer and phone in the same WiFi environmentNote: If your PC is using a desktop computer, you can install a portable WiFi to make sure that your desktop and phone are in the same WiFi environment To install the configuration steps:1. Download a fiddler, you can do it anywhere on the internet .2. Configure Fiddler Tools->fiddler options->connections Description: 1. Fiddler listens on port is the proxy port number when the phone is connected Fiddler, the default 88882.Allow remote computers to connect is allowed to send requests remotely and needs to be ticked on  Tools->fiddler Options->https Note: Hook on decrypt HTTPS traffic, will catch the phone's HTTPS request, if you want to catch HTTPS request also need to install the certificate on the phone, the following will introduce"Fiddler must be set to restart the fiddler before it will take effect." 3. Configuration on the phone3.1 need to install Fiddler certificateUse your mobile browser to access http://"Computer IP Address", "Port number set by Fiddler" To download Fiddler certificate and install"Check the computer IP method, directly under CMD ipconfig, or mouse over fiddler online can also see the IP address"As an example of my IP address as seen above, the mobile phone simply accesses http://10.252.167.91:8888 to download and install the Fiddler certificate . 3.2 Mobile phone set WiFi proxyconnect the same wifi with the computer, modify the WiFi network, manually set up the agent, the proxy server host name is the computer's IP address, the proxy port is set in the Fiddler the port number, after saving, Fiddler will be able to receive the request information on the phone The above is the configuration method, the other can be used directly, such as in the Fiddler of the request for filtering, only look at the request under a server, configure the following actions to save the filterThere may be a test environment in the test environment where the domain name is the same for a company, but the hosts are different, pointing to different server IP addresses to determine what the environment is. In the PC test can be very convenient to change the local hosts refers to the switch test environment and the online environment, change the hosts on the phone more trouble. At this time can use Fiddler to connect the phone, change the computer's hosts, to achieve the mobile phone connection test environment operation.  Note:1. Mobile phone configuration agent, fiddler must start, the mobile phone can be online, if the fiddler is closed after the mobile phone is not connected to the network, you need to remove the agent to be able to network. 2.fiddler Qidong, the proxy for the Internet will be changed to 127.0 by default. 0.1, the agent reverts to the original agent when the normal exit fiddler. However, if you encounter fiddler exit (such as the process directly killed), will cause the agent is not recovery, this is the agent that needs to manually modify the Internet (revert to the original agent or cancel the agent)here's how to set up an Internet proxy:   

Use fiddler to grab the program on your phone

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.