Nmap (Network Mapper) is an open source tool for network exploration and security auditing. It was designed to rapidly scan large networks, although it works fine against single hosts. Nmap uses raw IP packets in novel ways to determine what hosts are available on the network. and what services (application name and version) those hosts are offering, what operating systems (and OS versions) they are running. and what type of packet filters/firewalls are in use, and dozens of other characteristics. While Nmap is commonly used for security audits, many systems and network administrators find it useful for routine tasks. The tasks such as network inventory, managing service upgrade schedules, and monitoring host or service uptime.
Use following command to install NMAP:
dnf install nmap -y
Some useful nmap commands:
Ping Scan – disable port scan
nmap -v -sn google.com
Scan using IP Address
Probe open ports to determine service/version info
nmap -v -A google.com
nmap -sV google.com
There are other useful commands you can explore by checking nmap manual pages.
That’s about it.