nmap_scan
Scan authorized hosts to discover open ports, running services, OS details, and vulnerabilities using configurable Nmap profiles.
Instructions
Run an nmap scan against an authorized target.
TOOL_NAME=nmap_scan DISPLAY_NAME=Nmap Network Scanner USECASE=Discover open ports, services, versions, OS and run NSE vuln scripts on an in-scope host INSTRUCTIONS=1. Ensure the target is in the engagement scope (scope_manage), 2. Pick a profile, 3. Optionally set ports/extra_args, 4. Call INPUT_DESCRIPTION=target (host/IP/CIDR); profile (quick|full|service|os|aggressive|vuln|top-ports); ports (e.g. "22,80,443" or "1-1000"); extra_args (list of raw nmap flags) OUTPUT_DESCRIPTION=Dict with status, parsed open_ports list, raw stdout/stderr, command and execution mode EXAMPLES=nmap_scan("scanme.nmap.org", "quick"), nmap_scan("10.0.0.5", "service", ports="1-1024") PREREQUISITES=Target authorized and added to scope; nmap available on host or via Kali container RELATED_TOOLS=host_discovery, masscan_scan, nikto_scan
Args: target: Host, IP or CIDR to scan (must be in the authorized scope). profile: One of the predefined nmap profiles. ports: Optional explicit port specification (overrides profile ports). extra_args: Optional list of additional raw nmap arguments.
Returns:
Structured result dict including parsed open_ports.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ports | No | ||
| target | Yes | ||
| profile | No | quick | |
| extra_args | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||