From a8c2c733f3679665421ef9f0afcaedaaaec51734 Mon Sep 17 00:00:00 2001 From: Narstybits Date: Wed, 31 May 2023 14:41:44 -0500 Subject: [PATCH] Remote Shell Access with Socat --- RECON/SocatShell.txt | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/RECON/SocatShell.txt b/RECON/SocatShell.txt index 05db7cf..47fb8f8 100644 --- a/RECON/SocatShell.txt +++ b/RECON/SocatShell.txt @@ -1,18 +1,16 @@ REM This script sets up a TCP listener using socat for remote shell access. -REM It listens on the specified port (6300) and forks a new process for each incoming connection. -REM The EXEC parameter specifies the command to execute when a connection is established. +REM Proceeds to clear the terminal and minimize the window for stealth. +REM It listens on the specified port (6300) +REM Once this script is executed there will be an open listener on port 6300 +REM you will be able to use the command 'socat STDIN TCP::6300' +REM this will establish a connection to the remote computer on port 6300 +REM and you should be able to interact with the remote shell REM Requirement: i.p. of target MacOs and socat application REM can install using homebrew 'brew install socat' -REM once this script is executed there will be an open listener on port 6300 -REM you will be able to use the command 'socat STDIN TCP::6300' -REM will establish a connection to the remote computer on port 6300 -REM and you should be able to interact with the remote shell - - REM Title: SocatShell REM Author: NARSTY REM Target: MacOS