Go to file
Felix Ingram b1c1cd3f2f
Fixes AttributeError in transparent mode (#4951)
If we haven't connected to the upstream host in transparent mode, then the call to `write` on line 74 will raise an `AttributeError` as we haven't initialised `self.wfile`.

If we add `AttributeError` to the `except` line, then we'll catch the exception and call `_connect`, which will in turn initialise `wfile`.
2021-11-24 16:49:47 +01:00
.github StackOverflow -> GitHub Discussions (part 2) 2021-11-16 11:02:57 +01:00
docs split tls_handshake hook into client/server and success/fail variants 2021-11-22 10:23:21 +01:00
examples split tls_handshake hook into client/server and success/fail variants 2021-11-22 10:23:21 +01:00
mitmproxy Fixes AttributeError in transparent mode (#4951) 2021-11-24 16:49:47 +01:00
release Use the slim base image for container (#4889) 2021-11-16 12:49:12 +01:00
test catch malformed cert warning in tests 2021-11-22 12:55:17 +01:00
web Add font types to asset filter (~a) (#4928) 2021-11-21 15:47:09 +01:00
.gitattributes test dumpfiles: .bin -> .mitm 2021-02-03 19:27:15 +01:00
.gitignore minor sans-io adjustments 2020-04-05 00:51:36 +02:00
CHANGELOG.md split tls_handshake hook into client/server and success/fail variants 2021-11-22 10:23:21 +01:00
codecov.yml fix codecov report threshold (#4534) 2021-03-30 09:15:12 +00:00
CONTRIBUTING.md StackOverflow -> GitHub Discussions (part 2) 2021-11-16 11:02:57 +01: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 StackOverflow -> GitHub Discussions 2021-11-16 10:26:38 +01:00
SECURITY.md Create SECURITY.md 2021-09-13 16:34:33 +02:00
setup.cfg Grpc contentview (#4851) 2021-10-12 13:32:56 +02:00
setup.py require cryptography 36+ 2021-11-22 12:52:37 +01:00
tox.ini [requires.io] dependency update (#4946) 2021-11-23 21:12:32 +01:00

mitmproxy

Continuous Integration Status 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

Also, please feel free to join our developer Slack!

Slack Developer Chat