target_upload_file
Upload files to a remote target over an active SSH or reverse shell session, using base64-encoded content and optional SHA256 checksum verification for integrity.
Instructions
Upload content to a target via an active session (SSH or reverse shell).
Args: session_id: Active session ID content: Base64-encoded file content remote_path: Destination path on the target method: Transfer method (ssh, reverse_shell) encoding: Content encoding (utf-8, binary) verify_checksum: Compute and send SHA256 checksum for integrity verification
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>",
"content": "<content>",
"remote_path": "<remote_path>"
},
"name": "target_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | ssh | |
| content | Yes | ||
| encoding | No | utf-8 | |
| session_id | Yes | ||
| remote_path | Yes | ||
| verify_checksum | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |