shell_exec
Execute arbitrary shell commands on a remote Kali Linux machine for advanced scenarios when dedicated tools do not cover the task.
Instructions
Execute an arbitrary shell command on the remote Kali Linux machine. WARNING: This is an escape hatch for advanced scenarios — prefer specific tools. Only use for commands not covered by dedicated tools.
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": "shell_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The exact shell command to execute on the Kali machine. Example: "cat /etc/os-release" or "which python3" | |
| timeout_ms | No | Override the default timeout in milliseconds (default: 300000) |