Skip to content

Instantly share code, notes, and snippets.

@fernyb
Last active December 31, 2015 13:09
Show Gist options
  • Save fernyb/7990714 to your computer and use it in GitHub Desktop.
Save fernyb/7990714 to your computer and use it in GitHub Desktop.
# https://sites.google.com/site/jimmyxu101/testing/use-tcpdump-to-monitor-http-traffic
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