{ "name": "script", "display_name": "script", "kind": "module", "description": "Run a TeamServer-managed script artifact on the beacon. Scripts are resolved from Scripts/, Scripts/Any, or UploadedArtifacts.", "command_template": "script {script_artifact:q}", "target": "beacon", "requires_session": true, "platforms": ["windows", "linux"], "archs": ["any"], "args": [ { "name": "script_artifact", "type": "artifact", "required": true, "description": "Script artifact compatible with the current session.", "artifact_filters": [ { "category": "script", "scope": "server", "target": "beacon", "platform": "session.platform", "runtime": "cmd" }, { "category": "script", "scope": "server", "target": "beacon", "platform": "session.platform", "runtime": "shell" }, { "category": "upload", "scope": "operator", "target": "beacon", "platform": "session.platform", "arch": "session.arch", "runtime": "cmd" }, { "category": "upload", "scope": "operator", "target": "beacon", "platform": "session.platform", "arch": "session.arch", "runtime": "shell" } ] } ], "examples": [ "script cleanup.sh", "script collect.cmd" ], "source": "manifest" }