Created
August 7, 2014 19:36
-
-
Save mathyourlife/d32f3cbc13a4dadd1b65 to your computer and use it in GitHub Desktop.
tcpdump
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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