Monday, September 19, 2011

Mac OS X Lion HTTP Sniffer


Simple command-line sniffer:

sudo tcpdump -s 0 -A -i en1 port 80

Use ifconfig to lookup interface name (i.e. en1).