gitwtfhub

wtf is mitmproxy?

mahnerak/mitmproxy — explained in plain English

Analysis updated 2026-07-18 · repo last pushed 2025-04-20

PythonAudience · developerComplexity · 3/5StaleSetup · moderate

TL;DR

A tool that sits between your device and the internet to capture, inspect, and modify HTTPS traffic, like a security guard watching web conversations.

Mindmap

mindmap
  root((repo))
    What it does
      Intercepts HTTPS traffic
      Inspects requests
      Modifies live traffic
      Supports HTTP2 WebSockets
    Tech stack
      Python
    Use cases
      Debug network issues
      Test app behavior
      Find vulnerabilities
      Verify no data leaks
    Audience
      Penetration testers
      Developers
      QA teams
    Interfaces
      Terminal console
      mitmdump CLI
      mitmweb browser UI

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Debug why an app isn't communicating correctly with a server by inspecting the live HTTP traffic.

REASON 2

Test how an application behaves when it receives unexpected or modified server responses.

REASON 3

Check whether an app is leaking sensitive data over the network during QA testing.

REASON 4

Perform penetration testing on a web app or API by intercepting and analyzing its traffic.

What's in the stack?

Python

How it stacks up

mahnerak/mitmproxy0xallam/my-recipe0xhassaan/nn-from-scratch
Stars0
LanguagePythonPythonPython
Last pushed2025-04-202022-11-22
MaintenanceStaleDormant
Setup difficultymoderatemoderatemoderate
Complexity3/52/54/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Intercepting HTTPS requires installing mitmproxy's CA certificate on the client device.

Yoink these prompts

Prompt 1
Show me how to install mitmproxy and start mitmweb to inspect traffic from a specific app.
Prompt 2
Write a mitmproxy script that modifies a specific HTTP response header before it reaches the client.
Prompt 3
Explain how to set up mitmproxy to intercept HTTPS traffic from a mobile app, including certificate installation.
Prompt 4
Help me use mitmdump to log all API requests from my app to a file for later review.
Prompt 5
Debug why my app's WebSocket connection isn't showing up correctly in mitmproxy's traffic view.

Frequently asked questions

wtf is mitmproxy?

A tool that sits between your device and the internet to capture, inspect, and modify HTTPS traffic, like a security guard watching web conversations.

What language is mitmproxy written in?

Mainly Python. The stack also includes Python.

Is mitmproxy actively maintained?

Stale — no commits in 1-2 years (last push 2025-04-20).

How hard is mitmproxy to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is mitmproxy for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.