This is a brief write up that provides a shell script for passwording a shell bound with netcat.
You can download it from the following link: https://packetstormsecurity.com/files/download/122467/netcat_password.pdf
Source: https://packetstormsecurity.com/files/122467/Using-A-Password-With-A-Netcat-Shell.html

