Official website address: https://mitmproxy.org/
github address: https://github.com/mitmproxy
pypi address: https://pypi.org/project/mitmproxy/
1. For normal installation, use
pip3 install mitmproxy
2. Set browser proxy, port 8080, also can be customized
Firefox browser
Google Chrome
3. Start in the background, enter the script path, and start mitmdump -s Record.py
4. Open the browser to test the URL and click on it
5. Check the generated files
6. Code
7. Install the XlsxWriter module
pip3 install XlsxWriter
Common command line parameters:
-p specify the port number
-w outfile output the log to a local file
--ignore all hosts with https/ssl ignore https certificate errors (--ignore-hosts ".*443$")
-s load customization python script