android - libmproxy and mitmproxy documentation -


i new mitmproxy world. need write python script log requests made app on genymotion emulator. now, learned mitmproxy can helpful requirement. have set mitmproxy , able monitor traffic http/s app on gennymotion through mitm client.

however, want :

the app explored manually user , there should python script running log requests being made while user exploring app.

i have tried going through github examples of mitmproxy apis, have not been able understand them. please point me more detailed explanation/usage guide these apis ?

through more digging, figured out need similar https://github.com/mitmproxy/mitmproxy/blob/master/examples/flowbasic not understand happening inside script in above resource.

what f.reply() ?
flow.state() ?
m.run() ?
flow.flowmaster ?

and more importantly, there place can learn these various methods , others used in above ?

similarly, found : get "raw" request\response mitm proxy

can please explain how or call request() ?
context , flow parameters there ?

mitmproxy -w log_file.txt 

should work want. docs, mitmproxy --help gives insight on available options.


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -