export MITMPROXY_USER=your_username
export MITMPROXY_PASS=your_password
export REMOTE_SCRIPT_URL=http://example.com/your_remote_script.py
export SCRIPT_UPDATE_INTERVAL=300 # 可选,默认为300秒
export LOG_LEVEL=error
/home/mitmproxy/.mitmproxy
ui: 81
proxy: 80
def request(flow):
flow.request.headers["Custom-Header"] = "Custom-Value"
Content type
Image
Digest
sha256:4762faf74…
Size
143.2 MB
Last updated
about 2 years ago
docker pull monlor/mitmproxy