Nmap

Network Mapper Tool

🛰️ Nmap क्या है?

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

aptInstallation Commands

System Update

apt update

System Upgrade

apt upgrade

Install Nmap

apt install nmap

💻 Basic Commands (Use)

👉 Commands को एक-एक करके use कर सकते हो:

Simple Scan

nmap 192.168.1.1

Scan Target Domain

nmap scanme.nmap.org

Service Version Detection (-sV)

nmap -sV scanme.nmap.org

OS Detection (-O)

nmap -O scanme.nmap.org

Aggressive Scan (-A)

nmap -A scanme.nmap.org

🌐 Real Example (Practical समझ)

Example🎯 Example Target
nmap scanme.nmap.org

👉 यह Nmap की official test website है (safe practice के लिए)

📊 Output समझो

मान लो output कुछ ऐसा आता है:

PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
443/tcp open https

🧠 इसका मतलब:

22

Port 22 (SSH)

Remote login possible

80

Port 80 (HTTP)

Website running

443

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 ढूंढना आसान

⚠️ Important Warning

बिना permission किसी भी website या network को scan करना illegal हो सकता है

Practice के लिए use करो:

  • scanme.nmap.org
  • अपना local network

🧩 Related Tools

Wireshark

Packets analyze करने के लिए

Metasploit

Exploitation के लिए

💡 Simple समझ

Nmap = "Network का X-ray"

यह अंदर की पूरी जानकारी निकाल देता है — कौन सा port खुला है, कौन सी service चल रही है।