Netcat listener

From Luniwiki
Jump to: navigation, search


rlwrap nc -lnvp 5555

rlwrap allows to use arrows

Friendly shell

python -c 'import pty; pty.spawn("/bin/bash")'
CTRL-Z (To pause the shell)
stty rows 24 columns 134 (set columns)
stty raw -echo (to avoid the command echo)
fg (Back to the shell)
export TERM=screen


Daniel Simao 14:53, 3 January 2020 (EST)