3 comments

[ 5.6 ms ] story [ 29.1 ms ] thread
The entire hack runs in one line of bash:

while true; do { echo -e 'HTTP/1.1 200 OK\r\n'; fortune -s | cowsay; } | nc -l 8080; done

Consider changing the headers to text/plain rather than text/html - then it will be perfection.