Advertisement
Guest User

Untitled

a guest
Apr 28th, 2015
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #! /usr/bin/env python
  2.  
  3. # Set log level to benefit from Scapy warnings
  4. import logging
  5. logging.getLogger("scapy").setLevel(1)
  6.  
  7. from scapy.all import *
  8.  
  9. a = sniff(iface="en0", filter="ether proto 0x888e", count=10)
  10. a.nsummary()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement