Lecture-17-NMAP
Lecture-17-NMAP
Nmap (Network Mapper) is an open-source network discovery and security auditing tool. It is
widely used for:
Network exploration
Host discovery
Port scanning
Service version detection
OS detection
Vulnerability detection (with scripts)
Nmap is available for Linux, Windows, and macOS but is most powerful in Linux environments.
Basic Syntax
nmap [Scan Type(s)] [Options] {target specification}
Installation in Linux
This will ping all devices in the subnet and show which hosts are up.
nmap 192.168.1.10
nmap 192.168.1.1-50
5. Scanning a Subnet
nmap 192.168.1.0/24
Scan all devices on a subnet.
nmap -O 192.168.1.10
nmap -A 192.168.1.10
nmap 192.168.1.10
Findings
Nmap is one of the most powerful tools for network mapping and security auditing. Mastery of
Nmap allows security professionals to understand network configurations, detect vulnerabilities,
and prepare defenses against network-based attacks.