SHARE
TWEET

Scapy Sniff

a guest Jan 15th, 2014 1,856 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/env python
  2. from scapy.all import *
  3.  
  4. def pkt_callback(pkt):
  5.         #pkt.show()
  6.         pass
  7.        
  8. sniff(iface="eth0", prn=pkt_callback, filter="ip", store=0)
RAW Paste Data
Top