mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 23:15:57 +03:00
[GH-ISSUE #2086] [Feature Request] Interactive scripts support #3243
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#3243
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @P6g9YHK6 on GitHub (Nov 28, 2024).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/2086
Is your feature request related to a problem? Please describe.
Any scripts that "manage" (list/add/remove) something does not fit in TRMM at the moment and require some mental gymnastics to make it work
When running scripts, it is complicated to have scripts with multiple options and or choices to help setting variables for the run
And set "profiles" inside scripts with multiple choices already pre-made
Describe the solution you'd like
When running a script if the script is set as "interactive" open a terminal to interact with the remote script currently running.
once the script is over or timeout add the whole terminal interaction to the history
this would also allow people to also integrate compiled binaries to scripts that require user interaction by calling them (i was thinking about win-acme for exemple or any other cli tool)
these would obviously not be allowed to be used in policy/tasks/checks as they by nature require user inputs
Describe alternatives you've considered
lots of work and annoying things
Additional context

Here an extreme exemple of what could be run in this feature:
@P6g9YHK6 commented on GitHub (Dec 1, 2024):
it would fix this one too https://github.com/amidaware/tacticalrmm/issues/657
let the people adapt their script to fix the premade option rather than having to redo the whole rmm scripting stuff everytime someone needs something