Skip to content

Instantly share code, notes, and snippets.

@mccabe615
Created August 26, 2015 04:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mccabe615/b1c29bd11dfb63891439 to your computer and use it in GitHub Desktop.
Save mccabe615/b1c29bd11dfb63891439 to your computer and use it in GitHub Desktop.
from scapy.all import *
def arp_display(pkt):
if pkt[ARP].hwsrc == '74:75:48:0f:76:3a': # Huggies
print "Found Dash"
print sniff(prn=arp_display, filter="arp", store=0, count=1000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment