Daniel Michaels

I forget things so I write them down.

github twitter instagram email
Scapy Snippets
Feb 28, 2018
One minute read

How to get RSSI from WLAN packet

from scapy.layers.dot11 import RadioTap, Dot11

def get_rssi(packet):
    if packet.haslayer(RadioTap):
        return packet.dbm_antsignal

caveat: currently only tested on Ralink: RT5370 chipset

Tags: scapy python

Back to posts

comments powered by Disqus