target_download_file
Download a file from a remote target using an active session, with support for SSH or reverse shell transfer and optional SHA256 checksum verification.
Instructions
Download file content from a target via an active session.
Args: session_id: Active session ID remote_path: Path to file on the target method: Transfer method (ssh, reverse_shell) verify_checksum: Verify SHA256 checksum if provided by the server
Returns: File content encoded as base64
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | ssh | |
| session_id | Yes | ||
| remote_path | Yes | ||
| verify_checksum | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |