From a3d60a66d872869190c3bf8d96458075e0fe26e7 Mon Sep 17 00:00:00 2001 From: Steely Wing Date: Fri, 12 Jan 2018 11:38:58 +0800 Subject: [PATCH 1/2] Add openbsd-inetd config --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index f43290f..6d8c5e7 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,10 @@ To use the telnet server, you need to add a configuration that runs: nyancat -t +For `openbsd-inetd`, add this to config and reload (change `/usr/local/bin/nyancat` to your path): + + telnet stream tcp nowait root /usr/local/bin/nyancat nyancat -t + We recommend `openbsd-inetd`, but both `xinetd` and `systemd` work as well. You should be able to use any other compatible `inetd` flavor too. From 194b3c176e24b14967e9dc7c42cd5bf4c8a05507 Mon Sep 17 00:00:00 2001 From: Steely Wing Date: Thu, 14 Jun 2018 09:31:56 +0800 Subject: [PATCH 2/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6d8c5e7..227335a 100644 --- a/README.md +++ b/README.md @@ -34,9 +34,9 @@ To use the telnet server, you need to add a configuration that runs: nyancat -t -For `openbsd-inetd`, add this to config and reload (change `/usr/local/bin/nyancat` to your path): +If you use `openbsd-inetd` as telnet server, add this to config and reload (change `/usr/local/bin/nyancat` to your path): - telnet stream tcp nowait root /usr/local/bin/nyancat nyancat -t + telnet stream tcp nowait nobody /usr/local/bin/nyancat nyancat -t We recommend `openbsd-inetd`, but both `xinetd` and `systemd` work as well. You should be able to use any other compatible `inetd` flavor too.