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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>",
"remote_path": "<remote_path>"
},
"name": "target_download_file"
}
}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 |