detect-services
Identify running services and their versions on open ports using version detection probes. Provide target IP or hostname with optional port range and intensity.
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 |
|---|---|---|---|
| target | Yes | Target to scan: IP address or hostname. | |
| ports | No | Port specification. If omitted, scans nmap default ports. | |
| intensity | No | Version detection intensity (0-9). Higher is more accurate but slower. Default: 7. | |
| timing | No | Timing template. Default: "normal". | normal |
| timeout | No | Maximum scan duration in seconds. Default: 600. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The nmap command that was executed (sanitized) | |
| hosts | No | Results per host | |
| scan_stats | No | Scan statistics | |
| raw_output | No | Raw nmap output text | |
| warnings | No | Scan warnings |