Netcat listener

From Luniwiki
Jump to: navigation, search

Listener

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

References

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