nmap scan cmd to run the aggresive , steath scan with the verbose using "-v" tag in the command for the full the port range against a target ip : 192.168.10.20
nmap -v --top-ports 20 192.168.10.20
Explanation:
If we want to run nmap scan command on a home server, It is automatically scans a number of the most ‘popular’ ports for a given host 192.168.10.20 , replace the “20” with the number of range of the ports to scan using above nmap command , and nmap will scans that many ports given / provided in the command and It will returns a concise output that details the status of the most common ports using verbose "-v," tag provided in the command and this will quickly see whether we have any unnecessarily open ports or not.
Get Answers For Free
Most questions answered within 1 hours.