mitmproxy/examples/complex
Thomas Kriechbaumer 481970d9b8
Merge pull request #3846 from kimbo/kl/block-doh
Example for detecting/blocking DNS over HTTTPS queries
2020-04-05 09:09:37 +02:00
..
__init__.py bump deps 2019-09-28 17:37:43 +02:00
block_dns_over_https.py broke up long line into multiple lines 2020-04-04 21:27:58 -06:00
change_upstream_proxy.py cleanup mypy usage 2019-11-16 15:14:30 +01:00
dns_spoofing.py Corrected keep_host_header usage option 2018-10-25 16:15:55 -05:00
dup_and_replay.py View API slightly extended; codebase cleaned in some points 2018-06-13 11:56:14 +02:00
full_transparency_shim.c organize examples 2016-11-21 02:28:10 +01:00
har_dump.py Fix converting to HAR in case of void response 2019-11-29 10:08:19 +03:00
mitmproxywrapper.py organize examples 2016-11-21 02:28:10 +01:00
nonblocking.py lint! 2020-04-03 17:47:58 +02:00
README.md add block doh example to examples/complex/README 2020-03-04 21:16:30 -07:00
remote_debug.py adjust remote debug example to latest pycharm version 2019-11-18 02:52:20 +01:00
sslstrip.py cleanup mypy usage 2019-11-16 15:14:30 +01:00
stream_modify.py Misc. typos 2018-02-24 21:45:11 -05:00
stream.py update streaming docs 2017-07-04 10:53:23 +02:00
tcp_message.py fix tcp example 2018-05-11 11:58:01 +02:00
tls_passthrough.py Addons and addon testing 2017-04-26 19:56:33 +12:00
websocket_inject_message.py improve scripting docs 2020-04-04 15:36:13 +02:00
xss_scanner.py cleanup mypy usage 2019-11-16 15:14:30 +01:00

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.