Wireshark, twoo twooo two twoo
This commit is contained in:
101462
wireshark_twoo_twooo_two_twoo/out.json
Normal file
101462
wireshark_twoo_twooo_two_twoo/out.json
Normal file
File diff suppressed because it is too large
Load Diff
BIN
wireshark_twoo_twooo_two_twoo/shark2.pcapng
Executable file
BIN
wireshark_twoo_twooo_two_twoo/shark2.pcapng
Executable file
Binary file not shown.
14
wireshark_twoo_twooo_two_twoo/sol.py
Executable file
14
wireshark_twoo_twooo_two_twoo/sol.py
Executable file
@@ -0,0 +1,14 @@
|
|||||||
|
#!/home/maxime/.pyvenv/bin/python3
|
||||||
|
from json import loads
|
||||||
|
from pwn import *
|
||||||
|
|
||||||
|
with open("out.json", 'r') as f:
|
||||||
|
text = f.read()
|
||||||
|
json = loads(text)
|
||||||
|
for frame in json:
|
||||||
|
pflag = list(frame["_source"]["layers"]["data-text-lines"].keys())[0].strip()
|
||||||
|
pflag_content = pflag[8:-1]
|
||||||
|
pflag_content = unhex(pflag_content)
|
||||||
|
if pflag_content.isascii():
|
||||||
|
print(pflag_content)
|
||||||
|
|
||||||
Reference in New Issue
Block a user