man-in-the-middle_http_s_proxy_mitmproxy

man-in-the-middle http(s) proxy mitmproxy

mitproxy is a very cool and comfortable man-in-the-middle proxy server for https and http communications. just download the binary from their webpage and start one of the three executables. If you want a nice gui, mitmweb is a good choice, it will start a http(s) proxy on port 8080 and a webserver on port 8081 where you can see all the intercepted traffic and play with it.

the big advantage over the developer tools of chrome and firefox is simply, that it also works with curl and other applications :)

for fiefox and chrome check out the ProxySwitch extension which allows you to easily enable and disable the use of a proxy server in those two browsers.

here is a config for mitmproxy running on the same machine:

[mitmproxy
  http=127.0.0.1:8080
  https=127.0.0.1:8080
  noProxy=127.0.0.1:8080
]
  • man-in-the-middle_http_s_proxy_mitmproxy.txt
  • Last modified: 14.10.2021 17:53
  • by Pascal Suter