TTY Shell

Upgrade to a tty-shell

TTY Shell

Python

python -c 'import pty; pty.spawn("/bin/bash")'

Python3

python3 -c 'import pty; pty.spawn("/bin/bash")'

Bash

/bin/bash -i

Echo

echo 'os.system('/bin/bash')'