sehraramiz/mohsen-in-the-middle ? reverse-engineered prompt
Reverse engineered prompt
Build me a mitmproxy setup that makes inspecting traffic way easier and less noisy.
I want a single project I can run with uv that starts mitmproxy with a bunch of useful addons already loaded. It should let me hide noisy analytics, image, style, and javascript requests, send any flow to a repeater view, highlight important flows in different colors, freeze a response so later requests to the same URL get the saved response, and sample request and response data like JSON fields, query params, and headers for later fuzzing. It should also have a way to detect cached responses from common CDN headers, and optionally rotate upstream IPs through Tor if I set the Tor connection details.
Please make it easy to configure with an env file, and include sane default key bindings and commands like repeat, repeater, highlight, freeze, and rotate. If you need to check current mitmproxy docs while wiring it up, go ahead.
Are you gonna build this?
make sure you review the code using coderabbit