Skip to content Skip to sidebar Skip to footer

Scapy 2.7.3 In Monitor Mode

I am writing a simple WiFi sniffer with scapy: from scapy.all import * ap_list = [] def ssid(pkt): print(pkt.show()) if pkt.haslayer(Dot11): if pkt.type == 0 and p

Solution 1:

This is a Mac specific issue. You indeed are correct, you want to be capturing Beacon frames for this type of data. The issue here is that once the airport command finishes running, your interface is returned back to it's standard managed mode, so when you run your scapy script your wifi interface is not in monitor mode. To my knowledge, Mac does not have a native command that will turn on, and leave a card in monitor mode.


Post a Comment for "Scapy 2.7.3 In Monitor Mode"