Skip to content

Instantly share code, notes, and snippets.

@hirolovesbeer
Created December 8, 2016 06:31
Show Gist options
  • Save hirolovesbeer/2fb1382aa7c1a8200cd638011f69c6e6 to your computer and use it in GitHub Desktop.
Save hirolovesbeer/2fb1382aa7c1a8200cd638011f69c6e6 to your computer and use it in GitHub Desktop.
#! /usr/bin/env python
import sys
from scapy.all import sniff
#sniff(iface="en0", prn=lambda x: x.show(), filter="udp")
sniff(iface="en0", prn=lambda x: x.show(), filter="udp and ( port 514 )")
#sniff(iface="en0", prn=lambda x: x.summary(), filter="udp and ( port 514 )")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment