upload_file
Upload a file to a remote target via Mythic agent. Send base64-encoded content to a specified remote path for penetration testing and file deployment.
Instructions
Upload a file to the Mythic server, and then upload the file to the remote target
Args:
agent_id: ID of the agent to execute command on
file_name: Name to give the file when uploading to Mythic server
remote_path: Full path to where the file will be uploaded
content: Base64 encoded contents of the file
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": {
"agent_id": "<agent_id>",
"file_name": "<file_name>",
"remote_path": "<remote_path>",
"content": "<content>"
},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| agent_id | Yes | ||
| file_name | Yes | ||
| remote_path | Yes |