Created
November 11, 2015 17:13
-
-
Save askldjd/865135369dc3939d7be8 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 pkt_callback(pkt): | |
pkt.show() # debug statement | |
sniff(iface="eth0", | |
prn=pkt_callback, filter="ip", store=0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment