run_command
Execute a shell command on Kali Linux when no dedicated security tool covers the task, with safety blocks for dangerous operations and returns command output.
Instructions
Execute an arbitrary command on the Kali system. Use ONLY as a fallback when the specific tool you need is not available as a dedicated MCP tool. The command is parsed into arguments and runs with safety restrictions — dangerous commands (rm, dd, shutdown, etc.) are blocked. Prefer the dedicated tool functions whenever possible for better parameter validation and structured output. Output: command stdout and stderr output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Shell command to execute (e.g. 'whois example.com', 'dig example.com ANY') | |
| timeout | No | Timeout in seconds (default: 120, max: 600) |