detect-services
Identifies software names, versions, and CPE identifiers for services running on open ports using Nmap's service detection probes, aiding authorized network security assessments.
Instructions
Detect services and versions running on open ports.
Uses nmap's service detection probes (-sV) to identify software names, versions, and CPE identifiers for services running on open ports.
IMPORTANT: Only scan targets you are authorized to scan.
Returns: ScanResult with service information for each open port.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ports | No | Port specification. If omitted, scans nmap default ports. | |
| target | Yes | Target to scan: IP address or hostname. | |
| timing | No | Timing template. Default: "normal". | normal |
| timeout | No | Maximum scan duration in seconds. Default: 600. | |
| intensity | No | Version detection intensity (0-9). Higher is more accurate but slower. Default: 7. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hosts | No | Results per host | |
| command | Yes | The nmap command that was executed (sanitized) | |
| warnings | No | Scan warnings | |
| raw_output | No | Raw nmap output text | |
| scan_stats | No | Scan statistics |