Advertisement
Guest User

Scapy Sniff

a guest
Jan 15th, 2014
3,194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement