Log HTTP/S traffic #6844
-
Hello, I am trying to use mitmproxy as tool to log HTTP/S traffic. I read through the documentation and got it to run. I aim to schedule mitmdump to run on reboot with crontab. A log file is being created, but how can I change it to a human readable format? Basically I only need the date/time, method and requested URL in CSV or any other format that is easily read- and searchable. Similar to the view you get, when you just start mitmproxy on the command line. How can I achieve this and is mitmproxy the right tool for this? Thanks for your time :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi! I think that you can use mitmproxy addons, I write a working but simple script for you that should do what you need:
save it as
|
Beta Was this translation helpful? Give feedback.
-
Thanks a lot, I will try it out and report back. But it looks like this is exactly what I need. So this is the preferred/intended way of manipulating the output to the log files? |
Beta Was this translation helpful? Give feedback.
Hi! I think that you can use mitmproxy addons, I write a working but simple script for you that should do what you need:
save it as
traffic_l…