mitmproxy/examples/contrib
Francisco Boni f9899fdd44
Improve http_manipulate_cookies.py example (#5578)
Improve the example helper functions to use the get_all functions recommended
in the Header class docs for use with cookies data. This will avoid errors when
dealing with multiple headers.

cf655a664f/mitmproxy/http.py (L148)
cf655a664f/mitmproxy/http.py (L91)
2022-09-11 15:58:29 +02:00
..
webscanner_helper use Python 3.9+ typing 2022-04-26 13:53:23 +02:00
all_markers.py Use emoji and characters as markers. Add ~marker filter syntax. (#4587) 2021-05-27 11:40:41 +02:00
block_dns_over_https.py autoflake --in-place **/*.py 2022-04-26 13:52:46 +02:00
change_upstream_proxy.py autoflake --in-place **/*.py 2022-04-26 13:52:46 +02:00
check_ssl_pinning.py pyupgrade --py36-plus mitmproxy/**/*.py 2020-11-20 19:25:26 +01:00
custom_next_layer.py add next_layer docs + example, minor fixes 2021-06-20 02:15:09 +02:00
dns_spoofing.py restructure examples 2020-06-23 16:00:14 +02:00
domain_fronting.py autoflake --in-place **/*.py 2022-04-26 13:52:46 +02:00
full_transparency_shim.c restructure examples 2020-06-23 16:00:14 +02:00
har_dump.py autoflake --in-place **/*.py 2022-04-26 13:52:46 +02:00
http_manipulate_cookies.py Improve http_manipulate_cookies.py example (#5578) 2022-09-11 15:58:29 +02:00
httpdump.py Add httpdump.py example (#5190) 2022-03-23 13:04:38 +00:00
jsondump.py remove websocket_error event, fixes #4674 2021-07-12 16:35:25 +02:00
link_expander.py restructure examples 2020-06-23 16:00:14 +02:00
mitmproxywrapper.py pyupgrade --py36-plus mitmproxy/**/*.py 2020-11-20 19:25:26 +01:00
modify_body_inject_iframe.py restructure examples 2020-06-23 16:00:14 +02:00
ntlm_upstream_proxy.py use Python 3.9+ typing 2022-04-26 13:53:23 +02:00
README.md add wsreplay.py, close #5012 2022-03-30 15:14:29 +02:00
remote-debug.py restructure examples 2020-06-23 16:00:14 +02:00
save_streamed_data.py use Python 3.9+ typing 2022-04-26 13:53:23 +02:00
search.py use Python 3.9+ typing 2022-04-26 13:53:23 +02:00
sslstrip.py autoflake --in-place **/*.py 2022-04-26 13:52:46 +02:00
suppress_error_responses.py Added addon to suppress the sending of 502 Bad Gateway response… (#4299) 2020-11-20 09:15:12 +01:00
test_har_dump.py Fix HAR dump (#4439) 2021-02-11 21:07:09 +01:00
test_jsondump.py pyupgrade --py36-plus mitmproxy/**/*.py 2020-11-20 19:25:26 +01:00
test_xss_scanner.py restructure examples 2020-06-23 16:00:14 +02:00
tls_passthrough.py split tls_handshake hook into client/server and success/fail variants 2021-11-22 10:23:21 +01:00
xss_scanner.py autoflake --in-place **/*.py 2022-04-26 13:52:46 +02:00

Community-Contributed Examples

Examples in this directory are contributed by the mitmproxy community.
If you developed something thats useful for a wider audience, please add it here!

Additional Examples Hosted Externally

  • wsreplay.py: a simple tool to replay WebSocket streams

Maintenance

⚠️ The examples in this directory are not actively maintained by the core developers.

We welcome PRs that add/fix/modernize/clean up code.