Created
July 8, 2016 05:19
-
-
Save tjt263/e1552727cf99c47c98490931e29787a2 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
#!/usr/bin/env python2.7 | |
from scapy.all import * | |
def callback(packet): | |
print packet.show() | |
sniff(prn=callback) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment