Open Shenglian opened 5 years ago
import mitmproxy def response(flow): if flow.request.pretty_url.endswith("example.com/orders"): with open("orders.html","wb") as f: f.write(flow.response.content)
Save this script to save_body.py and use it with mitmdump -s save_body.py
save_body.py
mitmdump -s save_body.py
Save this script to
save_body.py
and use it withmitmdump -s save_body.py