shell_exec
Execute shell commands inside a Kali Linux container for penetration testing. Configure timeouts and raw output mode for direct results.
Instructions
Purpose: Execute a non-interactive shell command inside the Kali container. Constraints: raw=True disables semantic compaction but retains safety bounds and artifacts. This is non-interactive; use shell_exec_background or ncat/listeners for long-running jobs. Example: shell_exec(command='id && pwd')
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | ||
| command | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||