带有SCAPY的TCP字段

问题描述 投票:0回答:1

我正在尝试使用SCAPY从网络连接中提取一些信息。我需要从TCP数据包头中提取一些字段,实际上是接收方Windows字段(WIN),重传超时字段(RTO),最大段字段(MSS)和选项字段(OPT)。

我有点迷茫。我正在使用Python3和SCAPY 2.4.3

谢谢

python-3.x tcp scapy
1个回答
0
投票

在TCP数据包上,您可以访问以下字段:enter image description here

例如print(packet.options),依此类推

© www.soinside.com 2019 - 2024. All rights reserved.