Skip to content

Instantly share code, notes, and snippets.

@mhils
Last active September 17, 2016 05:47
Show Gist options
  • 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()
@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