mitmproxy

mitmproxy is a set of tools that provide an interactive, SSL/TLS-capable intercepting proxy for HTTP/1, HTTP/2, and WebSockets.

The installation

pip install mitmproxy
Copy the code

certificate

HTTPS cannot be captured without a certificate. Download it based on the operating system

http://mitm.it/

Computer caught

To set up the local agent, click Save

Start mitmProxy, enter the command line interface (CLI)mitmwebThe Web application has been started

mitmweb
Copy the code

Capture package micro channel small program

  1. Open wechat on your computer

  2. Select a small program (here using Meituan takeaway)

Packet capture browser

  1. Direct access to thehttps://testerhome.com