1. Installation Environment:
- Based python
- windows operating system will need to install Microsoft Visual C ++ V14.0 more
- linux operating system can be installed directly on python
2. Install mitmproxy
pip install mitmproxy
3. Check the version number
mitmproxy --version # linux mitmdump --version # windows
4. Start
mitmproxy -p 8080 # linux start mitmdump named text.txt in the -p -w # 8080 Windows mitmweb -p 8080 # graphical interface -w output file -p specified port
5. Set Agent
ip: 8080 # The default listening port 8080
6. Install Certificate
mitm.it # visit this site