Skip to content

Instantly share code, notes, and snippets.

@mathyourlife
Created August 7, 2014 19:36
Show Gist options
  • Save mathyourlife/d32f3cbc13a4dadd1b65 to your computer and use it in GitHub Desktop.
Save mathyourlife/d32f3cbc13a4dadd1b65 to your computer and use it in GitHub Desktop.
tcpdump
sudo tcpdump -s 0 -A -i lo0 'tcp port 8080 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment