Listen to this Post
Nmap (“Network Mapper”) is an open-source tool for network exploration and security auditing. It was designed to rapidly scan large networks, though it works equally well against single hosts. Nmap uses raw IP packets to determine available hosts, services (application name and version), operating systems (and versions), packet filters/firewalls, and dozens of other characteristics.
You Should Know:
Basic Nmap Commands
1. Scan a Single Target
nmap 192.168.1.1
2. Scan Multiple Targets
nmap 192.168.1.1 192.168.1.2
3. Scan a Range of IPs
nmap 192.168.1.1-100
4. Scan a Subnet
nmap 192.168.1.0/24
5. Aggressive Scan (OS, Service Detection, Scripts)
nmap -A 192.168.1.1
Advanced Scanning Techniques
6. TCP SYN Scan (Stealth Scan)
nmap -sS 192.168.1.1
7. UDP Scan
nmap -sU 192.168.1.1
8. Version Detection
nmap -sV 192.168.1.1
9. OS Detection
nmap -O 192.168.1.1
10. Scan Using Specific Ports
nmap -p 22,80,443 192.168.1.1
Firewall Evasion & Timing
11. Fragment Packets (Evade Firewalls)
nmap -f 192.168.1.1
12. Use Decoy IPs
nmap -D RND:10 192.168.1.1
13. Slow Timing Scan (Avoid Detection)
nmap -T1 192.168.1.1
Nmap Scripting Engine (NSE)
14. Run Default Scripts
nmap -sC 192.168.1.1
15. Run Specific Script
nmap --script=http-title 192.168.1.1
16. Vulnerability Scanning
nmap --script=vuln 192.168.1.1
Output Formats
17. Save Results to a File
nmap -oN output.txt 192.168.1.1
18. Save in XML Format
nmap -oX output.xml 192.168.1.1
What Undercode Say
Nmap remains the Swiss Army knife for network reconnaissance, penetration testing, and cybersecurity audits. Mastering its flags (-sS, -A, -O) and scripting engine (--script) is crucial for ethical hackers and sysadmins.
For deeper learning, refer to:
Expected Output:
Starting Nmap 7.92 ( https://nmap.org ) Nmap scan report for 192.168.1.1 Host is up (0.045s latency). Not shown: 998 closed ports PORT STATE SERVICE 22/tcp open ssh 80/tcp open http
References:
Reported By: Activity 7320127516017418240 – Hackers Feeds
Extra Hub: Undercode MoN
Basic Verification: Pass ✅



