Skip to content

Instantly share code, notes, and snippets.

@wolendranh
Created March 4, 2016 09:25
Show Gist options
  • Save wolendranh/b29c39b9c44ed07d2184 to your computer and use it in GitHub Desktop.
Save wolendranh/b29c39b9c44ed07d2184 to your computer and use it in GitHub Desktop.
pkts=sniff(filter="tcp",
iface=GacheringStatistic.get_primary_eth(self),
timeout=10,
prn=GacheringStatistic.stats_tcp(self,packet),
store=0,
count=0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment