nmap
Scans network targets to discover live hosts, open ports, service versions, and OS details. Use first to map the attack surface before deeper testing.
Instructions
Primary network scanner for host discovery, port scanning, service/version detection, and OS fingerprinting. Use this FIRST on any target to understand what's running. Returns open ports with service banners and detected OS. For fast bulk port scanning across many hosts, use masscan instead. For live host discovery on a local subnet, use arp_scan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| opts | No | Additional nmap options. Default: -sV -sC (version detection + safe scripts) | |
| ports | No | Ports to scan (e.g. '22,80,443' or '1-1000'). Omit for top 1000 ports. | |
| target | Yes | Target IP, hostname, or CIDR range (e.g. 192.168.1.0/24) |