target_download_file
Download file content from a target system through an active session using SSH or reverse shell. Optionally verify SHA256 checksum to ensure integrity.
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 |