Python utility to parse pcap files and extract flow-related information from them.
This utility requires macOS. You need to have Python 3 installed.
Also make sure to have Wireshark installed on your macOS.
Set up the environment:
$ python3 -m venv env
$ source env/bin/activate
$ pip install -r requirements.txt
Run the parser:
To parse individual pcap files:
$ python parse.py <output_csv_file> <path_to_pcap_file>
To parse all pcap files in a directory:
$ python parse.py <output_csv_file> <directory_containing_pcap_files>