nmap_scan
Perform an nmap port scan on target hosts to find open ports. Specify IP addresses, hostnames, CIDR ranges, or port lists to discover available services.
Instructions
Perform a basic nmap port scan on target hosts. Supports IP addresses, hostnames, CIDR ranges. Returns discovered hosts and open ports.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ports | No | Port specification (e.g., '22,80,443', '1-1000', 'T:80,U:53'). Default: top 1000 ports | |
| target | Yes | Target to scan (IP address, hostname, CIDR range, or space-separated list) | |
| timing | No | Timing template (0-5): 0=paranoid, 1=sneaky, 2=polite, 3=normal, 4=aggressive, 5=insane | |
| scanType | No | Scan type: syn (default, requires root), connect (TCP), udp, ack, window, maimon | |
| skipHostDiscovery | No | Skip host discovery (-Pn), treat all hosts as online |