Parrot 3.6Install mitmproxy
Recently, we need to implement highly customized agents, to meet the modification of HTTP and HTTPS requests and responses, cross-platform, as lightweight and easy to use as possible, and finally choose to use mitmproxy.
Mitmproxy is a middleman agent tool that supports HTTP (S). Unlike similar functional tools such as Fiddler2,burpsuite, mitmproxy can be run under a terminal. Mitmproxy is developed using Python and is a tool to assist web development & testing, mobile debugging, and * testing.
Installation
Python3.5-m pip install mitmproxy
Report exception: / usr/bin/python3.5: No module named pip
Solution: sudo apt-get install python3-pip
Then repeat the python3.5-m pip install mitmproxy
Reporting an exception: the key content
1, error: command 'x86 copyright 64murmurlinuxMugnumurgcc' failed with exit status 1
2, fatal error: openssl/opensslv.h: No such file or directory
3, Failed building wheel for cryptography
4, Command "/ usr/bin/python3.5-u-c" import setuptools,tokenize;file='/tmp/pip-build-ozmfhujz/cryptography/setup.py';f=getattr (tokenize, 'open',open) (file); code=f.read (). Replace ('\ r\ n'); f.close () Exec (code, file, 'exec') "> install--record/ tmp/pip-iuzqegy5-record/install-record.txt-- single-version-externally-managed-- compile >-- user-- prefix=" failed with error code 1 in / tmp/pip-build-ozmfhujz/cryptography/
Solution: sudo apt-get install libssl-dev