oc_masscan
Executes port scans with supplied command-line arguments in an isolated engagement workspace, avoiding shell parsing for authorized network reconnaissance.
Instructions
Run masscan from the OpenCyber network toolkit. The container executes masscan directly with the supplied argv tokens; shell parsing is never used. Runs from the selected engagement namespace; use relative paths for engagement artifacts.
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": {
"engagement_id": "<engagement_id>",
"arguments": "<arguments>"
},
"name": "oc_masscan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stdin | No | ||
| arguments | Yes | ||
| engagement_id | Yes | ||
| working_directory | No | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||