Running mitmproxy in some "script-only mode"


#1

I have created a script that modifies some requests/responses which can be used with mitmproxy by running

mitmproxy -s script.py

This works perfectly but I was wondering if you could:

  1. disable the logging of request/responses (in memory I guess?)
  2. disable the TUI

as I only need my script to modify requests/responses and don’t need to manually inspect them,


#2

What I wanted was just mitmdump -s script.py :sweat_smile: