Skip to content

Instantly share code, notes, and snippets.

@tjt263
Created July 8, 2016 05:19
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 tjt263/e1552727cf99c47c98490931e29787a2 to your computer and use it in GitHub Desktop.
Save tjt263/e1552727cf99c47c98490931e29787a2 to your computer and use it in GitHub Desktop.
#!/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