问题描述
我是新来的mitmproxy世界。我需要写一个python脚本,将记录从Genymotion模拟器一定的应用程序所做的所有请求。现在我才知道,mitmproxy可以是我的要求有帮助。因此,我已成功地建立了mitmproxy,现在我能够通过中间人客户端监视从Gennymotion任何应用程序的所有流量HTTP / S。
不过,我要的是:
I have tried going through the Github examples of mitmproxy APIs, but have not been able to understand them. Could someone please point me to a more detailed explanation/usage guide for these APIs ?
Through some more digging, I figured out that I need something similar to https://github.com/mitmproxy/mitmproxy/blob/master/examples/flowbasic but I do not understand what is happening inside the script in the above resource.Like
And more importantly, is there a place i can learn about these various methods and others used in the above ?
Similarly, found this as well : get a "raw" request\response from MITM Proxy
mitmproxy -w log_file.txt
should work for what you want. As for the docs, mitmproxy --help
gives you some insight on the available options.
这篇关于libmproxy和mitmproxy文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!