How to Use One-Lin3r to Quickly Generate Reverse Shells, Privesc Commands & More
Many of these will also allow you to escape jail shells.
python -c 'import pty; pty.spawn("/bin/sh")'
python -c 'import pty; pty.spawn("/bin/bash")'
python3 -c 'import pty; pty.spawn("/bin/sh")'
#CTR+Z to background proccess
stty raw -echo # Get autocompletion
#fg + enter to bring proccess to frondground
export TERM=screen
/bin/sh -i
echo os.system('/bin/bash')
!sh
:!bash
#OR
:set shell=/bin/bash:shell