Skip to content

Instantly share code, notes, and snippets.

@vmanyushin

vmanyushin/dump.sh

Last active Aug 29, 2018
Embed
What would you like to do?
Dump http request with headers
tcpdump -i any port 80 -A | grep -A 10 -P '(GET|POST|OPTIONS|PUT|DELETE).*?HTTP/1.[01]' | perl -ne 's/^.*?(?=(GET|POST|OPTIONS|PUT|DELETE))//g; print;'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment