Port scan with Netcat



Install netcat with

sudo apt install netcat

or on RedHat based systems

yum install netcat

The below command will scan all the ports up to 1000. Change if needed.

nc -v -z 192.168.1.20 1-1000

Leave a Reply