-
-
Save kkrypt0nn/adb3595e2ec5bbfd991724fae1cec68f to your computer and use it in GitHub Desktop.
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