🔍 What is Nmap?
Nmap (Network Mapper) is a powerful tool for scanning networks. It’s used to detect devices, open ports, services, and operating systems. Widely used in cybersecurity and system administration.
⚙️ Full video
⚙️ Basic Nmap Commands
1. Ping Scan – Discover live hosts:
nmap -sn 192.168.1.0/24
2. Scan a single host:
nmap 192.168.1.10
3. Scan multiple IPs:
nmap 192.168.1.10 192.168.1.20
4. Scan a range of IPs:
nmap 192.168.1.10-50
5. Port scan specific ports:
nmap -p 22,80,443 192.168.1.10
6. Detect service versions:
nmap -sV 192.168.1.10
7. Detect operating system:
nmap -O 192.168.1.10
8. Aggressive scan:
nmap -A 192.168.1.10
9. Scan from a file of IPs:
nmap -iL targets.txt
10. Save output to file:
nmap -oN scan_result.txt 192.168.1.10
⚠️ Note: Only scan devices or networks you own or are authorized to test. Unauthorized scanning may be illegal or result in action from your ISP or network admin.
0 Comments