Skip to content

Instantly share code, notes, and snippets.

@kkrypt0nn
Created April 3, 2022 18:33
Embed
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"]))
print(data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment