【问题标题】:Wireless signal strength from scapy using python3使用 python3 来自 scapy 的无线信号强度
【发布时间】:2020-06-04 03:20:54
【问题描述】:

尝试使用 python 工具和 scapy 检索无线信号强度。所有网络的输出为 -100。这是代码的一部分。

try:
            extra = frame.notdecoded
            rssi = (256 - ord(extra[-3:-2]))
        except:
            rssi = -100

有什么帮助吗?

【问题讨论】:

    标签: python-3.7 scapy signal-strength


    【解决方案1】:

    只需使用 Scapy 2.4.1+ 并使用

    rssi = frame[RadioTap]. dBm_AntSignal
    

    查看文档:https://scapy.readthedocs.io/en/latest/api/scapy.layers.dot11.html#scapy.layers.dot11.RadioTap

    (类似问题:https://stackoverflow.com/a/51918918/5459467

    【讨论】:

      猜你喜欢
      • 2019-01-06
      • 2020-03-24
      • 1970-01-01
      • 1970-01-01
      • 2022-08-10
      • 2015-12-02
      • 2018-12-22
      • 2018-09-25
      • 1970-01-01
      相关资源
      最近更新 更多