Break-Out Commands

Link 100% credit to : s1ren's Blog



### which pyhton/python3
python -c 'import pty; pty.spawn("/bin/bash")'
         OR
python3 -c 'import pty; pty.spawn("/bin/bash")'
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/tmp
export TERM=xterm-256color
alias ll='clear && ls -lsaht --color=auto'
Ctrl + Z [Background Process]
stty raw -echo ; fg ; reset
stty columns 200 rows 200



### which awk
>>> awk ‘BEGIN {system("/bin/bash")}’



### which perl  																			    [ if responce is positive ]
>>> perl -e 	‘exec “/bin/bash”;’



###which vi                                                                           [ if responce is positive ]
>>> vi 
>>> :set shell=/bin/bash
>>> :shell


Last updated