feat: Implement remote script execution and UI management#152
Conversation
|
Thank you so much for your interest in ControlR! I really appreciate you taking the time to contribute. However, I am not accepting PRs at the moment for the following reasons: Read-Only Mirror Legal and Financial Considerations Personal Working Style Reviewing AI Code I will begin accepting external contributions once ControlR reaches a more mature state and is financially self-sustaining. Thank you for understanding! If you have ideas, suggestions, or found a bug, please feel free to open an issue instead. I'd love to hear your feedback! Thank you again for your interest in the project! 🙏 |
|
:( |
Description
This PR introduces a remote script execution engine into ControlR, enabling administrators to create, manage, and execute scripts on remote agents—either individually or in bulk. See Issue #80
It replicates and adapts execution capabilities to target machines supporting PowerShell, Command Prompt (cmd.exe), and Bash shells.
Key Changes
ScriptandScriptExecutionentities configured with tenant-level isolation filters.AgentHubClientthat writes temporary script files and captures/streams stdout and stderr back in real-time.ScriptRunAs): Added support for running scripts under:System(Agent background service context).CurrentUser(Active interactive user desktop session).CurrentUserElevated(Interactive session requesting UAC elevation).ScriptsControllerto handle CRUD operations, mass execution (/execute), and ad-hoc script runs (/execute-adhoc).ScriptsControllerTeststargeting controllers and SignalR hub delegation.