How to Install and Configure Mitmproxy on Windows

Posted on September 25, 2019 at 11:15 pm

Download and install Mitmproxy on your Windows machine via:

https://mitmproxy.org/#mitmproxy

Open and edit Firefox (or other browser) to use the Mitmproxy loopback as proxy:

Open Windows Command Prompt (cmd.exe) and run Mitmproxy:

cd "C:\Program Files (x86)\mitmproxy\bin"
mitmdump.exe

Now you need to install the Mitmproxy CA certificate.

Visit http://mitm.it, click on “Other” and select “Trust this CA to identify web sites”:

Once the CA certificate is installed, visit an HTTPS website, i.e https://www.twitter.com

You should see the HTTPS connections are now logged in Mitmproxy console:

To log Mitmproxy events in a file just run mitmdump with >>, example:

mitmdump.exe >> C:\Users\Dev\Desktop\mitm.log

All logged HTTPS traffic will be saved to mitm.log file!

Receive updates via email

Other Posts

Updated Posts