nmap_port_scan
Identify open ports on network targets by running a port scan. Configure targets, port ranges, scan types (SYN, TCP, UDP, ACK), timing, and choose async job submission or blocking full output.
Instructions
Port scan returning job_id (async by default) or blocking until complete. targets: IPs/ranges/hostnames (space-separated for multiple) ports: '1-65535', '22,80,443', or 'top100' scan_type: 'auto' (sS if root else sT), 'sS' (SYN/root only), 'sT' (TCP connect), 'sU' (UDP), 'sA' (ACK) timing: T0-T5 (T4=fast, T3=normal, T2=polite) wait: if True, blocks until scan completes and returns full output
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | ||
| ports | No | 1-1000 | |
| timing | No | T4 | |
| targets | Yes | ||
| scan_type | No | auto |