How to capture WeChat requests and Wechat requests

Source: Internet
Author: User

How to capture requests and capture requests

Recently, the company has created a project because the project can only be run in the middle. To debug the project, you must capture packets. How can I capture packets from a PC? Fiddler can help you.

Preparation: one PC (Windows), one Fiddler installation package, and one installed mobile phone

1. Download Fiddler, http://www.telerik.com/fiddler in PC
2. Install the SDK)
3. Open the software, Click Tools-Fiddler Options-Connections in the menu, and select "Allow remote computers to connect" to Allow remote connection.

4. Restart the software
5. Click the "Online" icon in the upper-right corner to view the ip address of the Local Machine. Many ip addresses are displayed below. If you are not sure which one is your own, check ipconfig in cmd.


6. The default listening port number is 8888. You can modify it by yourself. Click Tools-Fiddler Options-Connections in the menu to set the Fiddler listen on port value.

7. Set the proxy address on your mobile phone to the IP address of your PC and the port number to 8888 (the modified proxy address is the corresponding port number after modification)



Note: If you are connected to your company's intranet wifi and wifi enables browser secondary verification, you must first pass the secondary verification before enabling proxy. Otherwise, secondary verification may fail.
8. At this time, click any link in, and you can view the request through Fiddler on the PC.

Note: https is required. By default, Fiddler does not capture https requests. You need to set this parameter.
Click Tools-Fiddler Options-HTTPS

If you still cannot capture the certificate, you may need to download and install a certificate on your mobile phone. Open the browser on your mobile phone and enter your computer ip address: Your port number. For example, if my address is 172.16.2.135: 8888, install the certificate.

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

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.