An interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers.
Go to file
lukant c10ff719f7
Fix interaction of modifyheaders addon with stream_large_bodies option (#7286)
* Fix interaction of modifyheaders addon with stream_large_bodies option

`modifyheaders` addon uses `request` and `response` hooks which, when
`stream_large_bodies` is enabled, are called after headers have already
been sent and can no longer be modified.

This commit changes `modifyheaders` addon to use
`requestheaders` and `responseheaders` hooks.

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-31 22:08:17 +00:00
.github Add `tun` proxy mode on Linux (#7278) 2024-10-29 02:34:39 +05:30
docs Remove Apple Silicon note (#7234) 2024-10-11 00:44:07 +02:00
examples Update change_upstream_proxy.py (#6853) 2024-05-18 12:06:48 +02:00
mitmproxy Fix interaction of modifyheaders addon with stream_large_bodies option (#7286) 2024-10-31 22:08:17 +00:00
release Docker: use latest python and debian (#7242) 2024-10-13 18:21:57 +02:00
test Fix interaction of modifyheaders addon with stream_large_bodies option (#7286) 2024-10-31 22:08:17 +00:00
web Add `tun` proxy mode on Linux (#7278) 2024-10-29 02:34:39 +05:30
.gitattributes test dumpfiles: .bin -> .mitm 2021-02-03 19:27:15 +01:00
.gitignore fix display of error messages on early shutdown (#6719) 2024-03-07 20:41:26 +00:00
CHANGELOG.md Fix interaction of modifyheaders addon with stream_large_bodies option (#7286) 2024-10-31 22:08:17 +00:00
CONTRIBUTING.md CONTRIBUTING.md: temporarily remove `--cov` 2023-12-02 08:37:37 +07:00
LICENSE GPLv3 -> MIT 2013-03-18 08:37:42 +13:00
MANIFEST.in remove pathod and pathoc 2020-12-13 20:21:11 +01:00
README.md Remove Links to Slack Workspace (#6560) 2023-12-19 12:20:43 +00:00
SECURITY.md Create SECURITY.md 2021-09-13 16:34:33 +02:00
codecov.yml remove `release/` from coverage 2022-07-25 01:39:04 +02:00
pyproject.toml Add `tun` proxy mode on Linux (#7278) 2024-10-29 02:34:39 +05:30

README.md

mitmproxy

Continuous Integration Status Codacy Badge autofix.ci: enabled Coverage Status Latest Version Supported Python versions

mitmproxy is an interactive, SSL/TLS-capable intercepting proxy with a console interface for HTTP/1, HTTP/2, and WebSockets.

mitmdump is the command-line version of mitmproxy. Think tcpdump for HTTP.

mitmweb is a web-based interface for mitmproxy.

Installation

The installation instructions are here. If you want to install from source, see CONTRIBUTING.md.

Documentation & Help

General information, tutorials, and precompiled binaries can be found on the mitmproxy website.

mitmproxy.org

The documentation for mitmproxy is available on our website:

mitmproxy documentation stable mitmproxy documentation dev

If you have questions on how to use mitmproxy, please use GitHub Discussions!

mitmproxy discussions

Contributing

As an open source project, mitmproxy welcomes contributions of all forms.

Dev Guide