exec_stream
Execute long-running Kali commands with real-time streaming output, capturing events as they occur for penetration testing tools like nmap and fuzzing.
Instructions
Execute a command with real-time streaming output via SSE (text/event-stream). Posts to api/command with streaming=True. Useful for long-running commands like nmap, nuclei, fuzzing.
Args: command: The command to execute timeout: Timeout in seconds (default: 3600 = 1 hour)
Returns: Streaming output collected in real-time with all events
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": {
"command": "<command>"
},
"name": "exec_stream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |