Created
March 10, 2022 14:00
-
-
Save tfmeneses/5076143ebb441c1439306dda5d3dae58 to your computer and use it in GitHub Desktop.
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
How to capture All incoming HTTP GET traffic (or) requests | |
tcpdump -i any -s 0 -A 'tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x47455420' | |
How to capture only HTTP POST requests Incoming to port 80 ( Apache/NGINX) | |
tcpdump -i <INTF> -s 0 -A 'tcp dst port 80 and tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x504F5354' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment