rport_exec_command
Run commands on a remote RPort client through the agent channel and retrieve stdout and stderr when the job completes.
Instructions
Ejecuta un comando en el cliente RPort por el canal del agente (sin t�nel SSH). En Linux suele exigir ruta absoluta, p.ej. /usr/bin/docker. No uses pipes ni redirecciones si el cliente tiene el filtro deny por defecto. Devuelve stdout/stderr cuando el job termina.
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": {
"client_id": "<client_id>",
"command": "<command>"
},
"name": "rport_exec_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| command | Yes | Comando a ejecutar, preferible con ruta absoluta | |
| is_sudo | No | ||
| client_id | Yes | Id del cliente RPort | |
| timeout_sec | No | Default 60 |