Skip to content

ARP Sniffing doesnt work for me #2

Description

@CookieCash

I get the following Error after starting the script the first time:
pi@raspberrypi:~ $ sudo python2 listen.py WARNING: No route found for IPv6 destination :: (no default route?) Listening for ARP packets... Traceback (most recent call last): File "listen.py", line 26, in <module> sniff(prn=arp_received, iface="wlan0", filter="arp", store=0, count=0) File "/usr/lib/python2.7/dist-packages/scapy/sendrecv.py", line 586, in sniff r = prn(p) File "listen.py", line 10, in arp_received if packet[ARP].op == 1 and packet[ARP].hwdst == '00:00:00:00:00:00': File "/usr/lib/python2.7/dist-packages/scapy/packet.py", line 770, in __getitem__ raise IndexError("Layer [%s] not found" % lname) IndexError: Layer [ARP] not found

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions