Bloga Dön
Tools

Nmap: Complete Network Scanning & Discovery Guide

Master Nmap for network discovery, port scanning, service detection, and OS fingerprinting.

Semih Kilic 27 Şubat 2026 14 min read

Introduction

Nmap (Network Mapper) is the industry standard for network discovery and security auditing. Every security professional must master Nmap.

Basic Scanning

  • Quick scan: nmap target.com
  • All ports: nmap -p- target.com
  • Specific ports: nmap -p 22,80,443 target.com
  • Port range: nmap -p 1-1000 target.com
  • Service Detection

  • Version detection: nmap -sV target.com
  • Aggressive scan: nmap -A target.com
  • HTTP servers: nmap --script http-server-header target.com
  • Scan Techniques

  • SYN scan (stealth): nmap -sS target.com
  • TCP connect: nmap -sT target.com
  • UDP scan: nmap -sU target.com
  • Null scan: nmap -sN target.com
  • NSE Scripts

  • Default scripts: nmap -sC target.com
  • Vuln scan: nmap --script vuln target.com
  • HTTP enum: nmap --script http-enum target.com
  • SSL check: nmap --script ssl-enum-ciphers target.com
  • Output Formats

  • Normal: nmap -oN scan.txt target.com
  • XML: nmap -oX scan.xml target.com
  • Grepable: nmap -oG scan.grep target.com

Conclusion

Nmap is the foundation of network security testing. Practice in your own lab and always obtain proper authorization.

#nmap#network-scanning#port-scanning#reconnaissance