Offensive Security Certified Professional (OSCP) video series by Ahmed:
to use Socat to:
1-Transfer data and files.
2- Execute commands remotely on the target machine (Bind & Reverse Shell)
3-Explore the option of using encrypted tunnels.

00:00 - Basic connection with socat.
05:17 - scout File transfers.
10:30 - socat bind shell
14:33 - socat reverse shell
16:16 - socat Encrypted bind or reverse shell.