How to continuously load a saved flow file from mitmproxy? (i.e. “follow”/-f the file)

这一生的挚爱 提交于 2020-08-10 19:18:16

问题


I've saved a file with the --save-stream-file (save_stream_file) option.

Now I want to replay that as asked in my previous question, but I want it to continuously follow the saved "flow". How can I do that?

This is a follow-up question of How to replay/show a saved flow in the console without triggering requests?.


回答1:


After some asking I got around and this should do the trick:

tail -f ./mitmproxy-flow.cap | mitmproxy --rfile - -n

Thanks to @mhils!

Though, at least for me, v5.2 currently still has a bug where it crashes.



来源:https://stackoverflow.com/questions/63139637/how-to-continuously-load-a-saved-flow-file-from-mitmproxy-i-e-follow-f-the

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!