Closed mhils closed 8 years ago
In a nutshell, this allows live PCAP processing with mitmproxy, at least for HTTP. :smiley: :tada:
tail -f -c +0 data/dump.pcap | pcap2mitmproxy --stream - - | mitmdump -s details.py -n -r -
I replaced argparse with click, because click treats - as stdin/stdout automatically. There are also a few fixes to make pcap2mitmproxy more resilient against invalid input.
-
In a nutshell, this allows live PCAP processing with mitmproxy, at least for HTTP. :smiley: :tada:
I replaced argparse with click, because click treats
-
as stdin/stdout automatically. There are also a few fixes to make pcap2mitmproxy more resilient against invalid input.