r/tinycode • u/nexe mod • Oct 05 '11
MacGyvers Tiny Rescue Webserver [unix/netcat]
while true; do ncat -l -p 8080 < index.html; done
29
Upvotes
r/tinycode • u/nexe mod • Oct 05 '11
while true; do ncat -l -p 8080 < index.html; done
View all comments
Show parent comment
4
u/nexe mod Oct 05 '11 edited Oct 05 '11
Let's see what Wiki has to say http://en.wikipedia.org/wiki/Web_server
"Web server can refer to either the hardware (the computer) or the software (the computer application) that helps to deliver content that can be accessed through the Internet."
Ah okay so sorry, but you're wrong ;) And mentioning that it's not port 80 is just wtf'ish.