Shell “stabilization” refers to the process of making a remote shell behave like a normal local shell — so, allowing interactive programs to work properly, ensuring that input is not echoed inappropriately, etc.
We can use socat to create an auto-stabilized reverse shell on UNIX-like systems.
Same thing, but over an encrypted connection:
IMPORTANT
The reverse shell will not pick up on your terminal size, so you’ll need to manually specify it using
stty rows
andstty cols
.