pcap.py 204 B

12345
  1. import pyshark
  2. shark_cap = pyshark.FileCapture('/Users/ethangoldfarb/Desktop/tomthesis/SSH-Master-Thesis/data/packets/thesis-capture-2019-05-03.0.pcap')
  3. for packet in shark_cap:
  4. print("%s" % packet)