Nmap (Network Mapper) एक powerful open-source tool है जो network scanning और security auditing के लिए use होता है। इसका काम है network में जुड़े devices, open ports, running services और vulnerabilities को detect करना।
👉 Ethical hacking, penetration testing और network security में यह सबसे basic और important tool माना जाता है।
🔍 Nmap क्या-क्या कर सकता है
Devices Detection
Network में कौन-कौन से devices हैं पता करना
Open Ports Check
Open ports (जैसे 80, 443, 22) check करना
Service Detection
कौन-सी service चल रही है (HTTP, SSH, FTP)
OS Detection
Target system का OS detect करना
Vulnerability Scan
Vulnerability scan करना (scripts से)
⚙️ Kali NetHunter / Termux में Nmap install
System Update
apt updateSystem Upgrade
apt upgradeInstall Nmap
apt install nmap💻 Basic Commands (Use)
👉 Commands को एक-एक करके use कर सकते हो:
Simple Scan
nmap 192.168.1.1Scan Target Domain
nmap scanme.nmap.orgService Version Detection (-sV)
nmap -sV scanme.nmap.orgOS Detection (-O)
nmap -O scanme.nmap.orgAggressive Scan (-A)
nmap -A scanme.nmap.org🌐 Real Example (Practical समझ)
nmap scanme.nmap.org👉 यह Nmap की official test website है (safe practice के लिए)
मान लो output कुछ ऐसा आता है:
🧠 इसका मतलब:
Port 22 (SSH)
Remote login possible
Port 80 (HTTP)
Website running
Port 443 (HTTPS)
Secure website running
👉 इससे hacker या security tester समझ सकता है कि:
- • कौन-कौन से entry points available हैं
- • कौन-सी services attack हो सकती हैं
🔥 Advanced Real Example (Service + OS detection)
nmap -A scanme.nmap.org👉 Output में दिखेगा:
OS info
Linux / Windows
Service version
Apache, OpenSSH
Extra details
Additional info
👉 इससे attacker को exact software version पता चल जाता है → vulnerability ढूंढना आसान
बिना permission किसी भी website या network को scan करना illegal हो सकता है
Practice के लिए use करो:
scanme.nmap.org- अपना local network
🧩 Related Tools
Wireshark
Packets analyze करने के लिए
Metasploit
Exploitation के लिए
Nmap = "Network का X-ray"
यह अंदर की पूरी जानकारी निकाल देता है — कौन सा port खुला है, कौन सी service चल रही है।