Scapy Snippets
Wed, 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
Keep up to date with my stuff
Subscribe to get new posts and retrospectives