Last active
April 9, 2018 05:15
-
-
Save boywijnmaalen/700c288b176501fc4d80 to your computer and use it in GitHub Desktop.
Output all HTTP traffic in your command line #CLI #UNIX
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 -A -s 0 'tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)' | |
$ tcpdump -i <interface> -s 0 -A host <host> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment