Show live HTTP requests using tcpdump

This line saved my life today:
tcpdump -i eth0 -n -s 0 -w - | grep -a -o -E "Host\: .*|GET \/.*"

You must change eth0 by you network device.

Portuguese note: A linha acima serve para mostrar as requisições HTTP em tempo real.

Deixe um comentário