Solution for challenge Star Pcap at the Space Heroes 2022 CTF
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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