TTY treatment

TTY treatment is a technique used in reverse shells for being able to do Ctrl+Z to clear the screen, Ctrl+C without quitting the reverse shell and be able to access commands history with up and down keys.

Linux

These are the commands used in linux to treat the tty:

Now, it’s created a interactive reverse shell for better performance and management in the machine.