Re:Cool stuff you can do with netcat
by yan on Friday November 05, 2010 @11:53AM
(#1873610)
If you love nc, also check out socat (http://www.dest-unreach.org/socat/)
[ Parent
| on HN ]
Or ncat (http://nmap.org/ncat/). My personal favorite useless example is the persistent webserver:
ncat -lkp 8080 --sh-exec 'echo -ne "HTTP/1.0 200 OK\r\n\r\nThe date is "; date;'