Spawning a TTY shell
Python spawn shell
python -c 'import pty; pty.spawn("/bin/bash")'
export TERM=xterm
CTRL+Z
stty raw -echo; fg
stty rows 38 columns 116
python3 -c 'import pty; pty.spawn("/bin/bash")'
export TERM=xterm
CTRL+Z
stty raw -echo; fg
stty rows 38 columns 116
OS system spawn shell
echo os.system('/bin/bash')
Bash spawn shell
Perl spawn shell
perl -e 'exec "/bin/sh";'
Ruby spawn shell
Lua spawn shell
lua: os.execute('/bin/sh')
IRB spawn shell
VI spawn shell
VI(2) spawn shell
:set shell=/bin/bash:shell
Nmap spawn shell