fast_port_scan
Use masscan for fast port discovery, then nmap for targeted service detection. Scans large ranges quicker than nmap alone.
Instructions
Fast port scan using masscan (discovery) + nmap (service detection). Much faster than nmap alone for large ranges — masscan at 5000 pps finds all open ports, then nmap does targeted -sV only on those ports. target: IP, CIDR range (e.g. '192.168.1.0/24'), or hostname ports: port range (default all ports '0-65535') rate: masscan packets per second — higher = faster but more noisy (default 5000) Use 1000 for stealth, 10000+ for speed on local networks service_detection: run nmap -sV on discovered ports (default True) Returns: open ports with services, much faster than full nmap scan NOTE: masscan requires root/sudo for raw sockets
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>"
},
"name": "fast_port_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | No | ||
| ports | No | 0-65535 | |
| target | Yes | ||
| service_detection | No |