【发布时间】:2025-12-31 07:30:17
【问题描述】:
我正在使用 dpkt 来解析 Wireshark 嗅探到的数据包。 这是我的代码:
for ts,buf in pcap:
try:
eth=dpkt.ethernet.Ethernet(buf)
except(dpkt.dpkt.NeedData,dpkt.dpkt.UnpackError):
continue
但是,eth 类似乎无法处理 802.11。
【问题讨论】:
-
嗯...脚本小子?不,以太网不是 802.11!