run_masscan
Scan target IPs and port ranges with Masscan, returning JSON or XML output for penetration testing and security assessments.
Instructions
š Run Masscan high-speed port scanner (auto-routed to tmux).
ports: Port range (e.g., "1-1000", "80,443,8080") rate: Packets per second (default: 10000) output_format: "json" or "xml"
Example: run_masscan(target="10.10.10.0/24", ports="80,443,8080,8443")
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": "run_masscan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | No | ||
| ports | No | 1-65535 | |
| target | Yes | ||
| output_format | No | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |