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.
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 |