Note : ncat is a utility of nmap that has implemented the netcat utility into it
Uninstall NetCat (Remove preinstall netcat since it does not have -e option)
sudo apt-get remove --purge netcat-openbsd
sudo apt-get install nmap
Test the nmap and ncat using -v
Check Port Opening using ncat
nc -zv <ip> <port>
z : sets nc to simply scan for listening daemons, without actually sending any data to them.
v : enables verbose mode.
Open a port for listening
Execute a command on remote
Connect to machine via shell
Create a chat or a web server
Verbose Scan with ncat command
Read Me :