Move to Interactive Shell

Most often while taking remote of a system through a shell, especially a web shell, we may end with a non-interactive one. Its possible to easily upgrade to an interactive shell as long as the target system has python installed using the following command,

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

Last updated