Netcat as Webserver

Netcat is ...; manpage: netcat

As default OpenWrt installs

You can anytime replace those packages by they original counterparts:

opkg install bash netcat

Examples:

while true; do { echo -e 'HTTP/1.1 200 OK\r\n'; cat /tmp/index.html; } | netcat -l -p 8080; done
  • Last modified: 2020/01/27 12:30
  • by dscr