First, the tool
- 360wifi
- Fiddler
- Cell phone
- Computer
Principle: Set up WiFi agent for phone, WiFi can crawl all the packets that flow through the WiFi.
Second, step
- Open 360wifi, phone connected to WiFi
- Open the phone settings-wifi-wifi name, go to the WiFi Settings page, set the agent for this connection, proxy address for your computer's IP address (under Windows through the ipconfig command view)
- Open Fidder, set tools-options-connect, tick "Allow Remote Computers to connect".
- Open the phone browser, visit the page, in the Fiddler can see the package
Third, attention
Do not connect to unfamiliar WiFi. Your connected WiFi can filter all your packets. If the login username and password for an app are clear text, you can easily see the user name and password at the WiFi router.
When developing a program, the network request must be encrypted to prevent the communication between the server and the client from being tapped.
When you write a crawler, you can use your computer to access Web pages that may be IP-blocked. When using the mobile app, it is possible that IP will not be blocked. This allows the computer to filter the request package to implement the crawler.
Use a computer to grab a bag of your phone