Skip to content

#tty #shell

#1

bash
python3 -c 'import pty; pty.spawn("/bin/bash")'
bash
stty raw -echo; fg
bash
export SHELL=/bin/bash; export TERM=screen; stty rows 43 columns 185; reset;

#2

bash
script /dev/null -qc /bin/bash
bash
stty raw -echo; fg
bash
export SHELL=/bin/bash; export TERM=screen; stty rows 43 columns 185; reset;

Notas personales de seguridad ofensiva.