-
-
Save dbgrandi/90074 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# | |
# Forked from http://gist.github.com/90062 | |
# | |
# Drop this into ~/.bash_profile: | |
# Usage: httpdump <interface> | |
# Example: httpdump en0 | |
# | |
function httpdump() { sudo tcpdump -i $1 -n -s 0 -w - | grep -a -o -E "Host\: .*|GET \/.*|POST \/.*";} | |
# All the above tested only on OS X. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment