Skip to content

Instantly share code, notes, and snippets.

@mhils
Last active September 17, 2016 05:47
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mhils/9315651 to your computer and use it in GitHub Desktop.
Save mhils/9315651 to your computer and use it in GitHub Desktop.
Install mitmproxy from master

⚠️ This is unmaintained. Please use the official docs instead: http://docs.mitmproxy.org/en/stable/install.html

If you want to live on the dangerous side, you can install mitmproxy from its master branch. If you encounter any bugs, please do us the favor and report them on the Github issue tracker briefly.

pip uninstall mitmproxy netlib
git clone https://github.com/mitmproxy/mitmproxy.git
cd mitmproxy
pip install --src . -r requirements.txt

Errors during installation? This is most likely a result of missing dependencies.

# tested on Ubuntu 12.04
sudo apt-get install build-essential libssl-dev libffi-dev python-dev python-pip libxml2-dev libxslt-dev git

If you have problems importing certffi:

$ sudo python  # workaround for https://github.com/mitmproxy/netlib/issues/32
>>> from netlib import certffi
>>> exit()
@njtaz76
Copy link

njtaz76 commented Nov 29, 2014

Hi, I am trying to install a branch instead of the master (the cert-chains branch) but cannot figure out how to use that instead. The link on the original issue ( mitmproxy/mitmproxy#174) to this page on installation, but 32 is a different issue. Thanks!

@mhils
Copy link
Author

mhils commented Dec 15, 2014

Hi @njtaz76,

support for cert chains shipped with mitmproxy 0.11. See http://mitmproxy.org/doc/ssl.html for details.

Cheers,
Max

@awasum
Copy link

awasum commented Mar 22, 2016

pls, i installed mitmproxy developer verion from github, how do i runit and get the web interface of mitmweb like i saw on the gsoc project 6??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment