I want to use mitmproxy to implement a tool

I want to use mitmproxy to implement a tool
.But my English is so bad .I have a lot of Chinese documents about mitmproxy
such as http://www.freebuf.com/sectool/76361.html.But libmproxy api is gone. But it is old

I would like to use mitmproxy crawl traffic request and response using api interface.
But libmproxy has become mitmproxy, I searched the document did not find, I hope you can tell me some function, such as start mitmproxy proxy interface, or access to the request and response interface

Hi!, I think the script api can suit your need! You could see the script document here : http://docs.mitmproxy.org/en/stable/scripting/overview.html. If you want to crawl the traffic, I guess you should try the concurrency mode here: http://docs.mitmproxy.org/en/stable/scripting/overview.html#concurrency.
Also, you’re welcome to ask me question in Chinese by the PM system!

1 Like

谢了 请问你是中国人么 要是中国人可以留个联系方式细聊我的qq207426719