mitmproxy/examples/complex
2020-04-11 11:12:18 +02:00
..
__init__.py
block_dns_over_https.py examples: reformat to prevent too long lines 2020-04-11 11:12:18 +02:00
change_upstream_proxy.py
dns_spoofing.py
dup_and_replay.py
full_transparency_shim.c
har_dump.py
mitmproxywrapper.py
nonblocking.py
README.md
remote_debug.py examples: reformat to prevent too long lines 2020-04-11 11:12:18 +02:00
sslstrip.py examples: reformat to prevent too long lines 2020-04-11 11:12:18 +02:00
stream.py
stream_modify.py
tcp_message.py
tls_passthrough.py
websocket_inject_message.py
xss_scanner.py

Complex Examples

Filename Description
block_dns_over_https.py Use mitmproxy to block DNS over HTTPS (DoH) queries
change_upstream_proxy.py Dynamically change the upstream proxy.
dns_spoofing.py Use mitmproxy in a DNS spoofing scenario.
dup_and_replay.py Duplicates each request, changes it, and then replays the modified request.
full_transparency_shim.c Setuid wrapper that can be used to run mitmproxy in full transparency mode, as a normal user.
har_dump.py Dump flows as HAR files.
mitmproxywrapper.py Bracket mitmproxy run with proxy enable/disable on OS X
nonblocking.py Demonstrate parallel processing with a blocking script
remote_debug.py This script enables remote debugging of the mitmproxy UI with PyCharm.
sslstrip.py sslstrip-like functionality implemented with mitmproxy
stream.py Enable streaming for all responses.
stream_modify.py Modify a streamed response body.
tcp_message.py Modify a raw TCP connection
tls_passthrough.py Use conditional TLS interception based on a user-defined strategy.
xss_scanner.py Scan all visited webpages.