Skip to content

Instantly share code, notes, and snippets.

@diegopacheco
Last active August 29, 2015 07:37
Show Gist options
  • Save diegopacheco/709bef985ecb384c5a6f to your computer and use it in GitHub Desktop.
Save diegopacheco/709bef985ecb384c5a6f to your computer and use it in GitHub Desktop.
Linux TCP Dump
tcpdump -A -s 0 'tcp port 80 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