oc_socat
Run socat with explicit arguments in an engagement workspace to create relays, forward ports, or test connections without shell parsing.
Instructions
Run socat from the OpenCyber network toolkit. The container executes socat 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_socat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stdin | No | ||
| arguments | Yes | ||
| engagement_id | Yes | ||
| working_directory | No | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||