Skip to content

Instantly share code, notes, and snippets.

Created April 3, 2022 18:33
What would you like to do?
Solution for challenge Star Pcap at the Space Heroes 2022 CTF
import pyshark
capture = pyshark.FileCapture("star.pcap")
data = ""
for packet in capture:
data += chr(int(packet.layers[2]._all_fields["icmp.code"]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment