mirror of
https://github.com/maxDcb/C2Core
synced 2026-06-08 15:48:01 +00:00
108a370807
* CommandSpecs * CommandSpecs * feat(command-specs): add simple module specs * listModule * AssemblyExec * AssemblyExecTests * Minor * Inject * InjectTests * Spec modules * Folder layout * upload & download * Chisel Minidump Powershell & Script * CoffLoader DotnetExec /KerberosUseTicket PsExec PwSh ScreenShot * add artifact_filters * Minor * stabilisation * Fixes * manual test * manual test * manual test * manual test * manual test * manual test * manual test * manual test * ScreenShot png * socks5 hostname * Maj for AI * minor
38 lines
993 B
JSON
38 lines
993 B
JSON
{
|
|
"name": "upload",
|
|
"display_name": "upload",
|
|
"kind": "module",
|
|
"description": "Upload an operator-managed artifact from the TeamServer to the beacon.",
|
|
"command_template": "upload {upload_artifact:q} {remote_path:q}",
|
|
"target": "beacon",
|
|
"requires_session": true,
|
|
"platforms": ["windows", "linux"],
|
|
"archs": ["any"],
|
|
"args": [
|
|
{
|
|
"name": "upload_artifact",
|
|
"type": "artifact",
|
|
"required": true,
|
|
"description": "Artifact from UploadedArtifacts compatible with the current session.",
|
|
"artifact_filter": {
|
|
"category": "upload",
|
|
"scope": "operator",
|
|
"target": "beacon",
|
|
"platform": "session.platform",
|
|
"arch": "session.arch"
|
|
}
|
|
},
|
|
{
|
|
"name": "remote_path",
|
|
"type": "path",
|
|
"required": true,
|
|
"description": "Destination path on the beacon."
|
|
}
|
|
],
|
|
"examples": [
|
|
"upload tool.exe C:\\Temp\\tool.exe",
|
|
"upload tool /tmp/tool"
|
|
],
|
|
"source": "manifest"
|
|
}
|