Simple *nix tool for listening to HTTP requests and logging the request data Simple *nix tool for listening to HTTP requests and logging the request data unix unix

Simple *nix tool for listening to HTTP requests and logging the request data


How about netcat?

sudo nc -l 80

Update: Here's what I see when I send a request through a browser.

[~]$ sudo nc -l 80Password:GET / HTTP/1.1Host: localhostUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/534.52.7 (KHTML, like Gecko) Version/5.1.2 Safari/534.52.7Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Language: en-usAccept-Encoding: gzip, deflateConnection: keep-alive