How to try this:
- Setup python in your computer. Python 3.x.
- Install hyper:
pip3 install hyper
. This will install hyper-h2 and hpack which is what the script uses. - Install pyshark:
pip3 install pyshark
. This is for reading the pcap file. - Run the script:
python h2-pyshark.pcap
. It parses a sample pcap file inpcap-sample
dir. Make sure you have thelogging.json
present in the same dir as the script.