Search code examples
mitmproxy

Using Mitmproxy proxy to display flows containing defined string


I'm searching for a way to filter out flows to only those, which contain defined string (or one of set of strings). For an example... I have set of strings teststring1, teststring2, teststring3 and I would like to see only requests/responses containing one of those strings. Any idea how to do it in Mitmproxy?


Solution

  • You can set a flow filter (for example by pressing f) and then specify a filter pattern: