[BSidesSF2019]table-tennis

注意到TLS,可能有私钥KEY泄露,找一下:

tcp contains key/KEY

发现没有,注意到ICMP好像带有数据:

在其他ICMP也发现了其他的数据,用命令提取一下:

tshark -r attachment.pcapng -T fields -e data > data.txt

处理下数据冗余,16进制转字符串处理一下:

content = """165d0100000000003c68746d6c3e0a093c68746d6c3e0a093c68746d6c3e0a093c68746d6c3e0a093c68746d6c3e0a09
5eac0200000000003c686561643e0a093c686561643e0a093c686561643e0a093c686561643e0a093c686561643e0a09
d43d0400000000003c7469746c653e203c7469746c653e203c7469746c653e203c7469746c653e203c7469746c653e20
e2d305000000000049203c3320436f7249203c3320436f7249203c3320436f7249203c3320436f7249203c3320436f72
e9260700000000006769203c2f7469746769203c2f7469746769203c2f7469746769203c2f7469746769203c2f746974
14b40800000000006c653e0a09093c736c653e0a09093c736c653e0a09093c736c653e0a09093c736c653e0a09093c73
2bb209000000000063726970743e0a6463726970743e0a6463726970743e0a6463726970743e0a6463726970743e0a64
bdfe0a00000000006f63756d656e742e6f63756d656e742e6f63756d656e742e6f63756d656e742e6f63756d656e742e
c1920c000000000077726974652861747772697465286174777269746528617477726974652861747772697465286174
ebe80d00000000006f622822513152476f622822513152476f622822513152476f622822513152476f62282251315247
a43900000000000065307031633352426530703163335242653070316333524265307031633352426530703163335242
b8d0010000000000557a42755a304669557a42755a304669557a42755a304669557a42755a304669557a42755a304669
36640300000000004d485630554446754d485630554446754d485630554446754d485630554446754d48563055444675
baba0400000000005a314177626d64395a314177626d64395a314177626d64395a314177626d64395a314177626d6439
e0c70500000000002229293b0a09093c2229293b0a09093c2229293b0a09093c2229293b0a09093c2229293b0a09093c
4e180700000000002f7363726970743e2f7363726970743e2f7363726970743e2f7363726970743e2f7363726970743e
2f610800000000000a0a093c2f6865610a0a093c2f6865610a0a093c2f6865610a0a093c2f6865610a0a093c2f686561
ce65090000000000643e0a0a093c626f643e0a0a093c626f643e0a0a093c626f643e0a0a093c626f643e0a0a093c626f
c1a80a000000000064793e0a0a09093c64793e0a0a09093c64793e0a0a09093c64793e0a0a09093c64793e0a0a09093c
f1f60b000000000068313e20576f6f6668313e20576f6f6668313e20576f6f6668313e20576f6f6668313e20576f6f66
bd540d00000000002121203c2f68313e2121203c2f68313e2121203c2f68313e2121203c2f68313e2121203c2f68313e
07a80e00000000000a0a093c2f626f640a0a093c2f626f640a0a093c2f626f640a0a093c2f626f640a0a093c2f626f64
bbba000000000000793e0a0a3c2f6874793e0a0a3c2f6874793e0a0a3c2f6874793e0a0a3c2f6874793e0a0a3c2f6874"""

lines = content.split('\n')
flag = ""
for i in range(len(lines)):
    lines[i] = lines[i][16:32]
    for j in range(0,len(lines[i]),2):
        flag += chr(eval("0x"+lines[i][j:j+2]))
print(lines)
print(flag)

得到:

中间有串base64解码:

CTF{JustAS0ngAb0utP1ngP0ng}
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值