Code: Select all
#! /usr/bin/env python from scapy.all import sniff from scapy.all import ARP def arp_monitor_callback(pkt): if ARP in pkt and pkt[ARP].op in (1,2): #who-has or is-at return pkt.sprintf("%ARP.hwsrc% %ARP.psrc%") sniff(prn=arp_monitor_callback, filter="arp", store=0)
however in the jessie version it does not show monitor mode either and it works...
At this point my work around will be to stay at pre april 2017 jessie.. but if I need to advance to stretch I will have to purchase
a wifi dongle for each electric switch controller .. I sure would appreciate an answer to this stumper!