Created
August 26, 2015 04:35
-
-
Save mccabe615/b1c29bd11dfb63891439 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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