amidaware / tacticalrmm

A remote monitoring & management tool, built with Django, Vue and Go.
https://docs.tacticalrmm.com
Other
3.27k stars 450 forks source link

Feature request: A central "pool" for files. #1005

Open DirectITServicesUK opened 2 years ago

DirectITServicesUK commented 2 years ago

Can we have a "files pool". Where installation and/or config files can be stored. So then when a script is scheduled on an agent, for example to install an application, it automagically downloads the file to where the script is run on the agent, rather than having to script the downloading of the file first. Example of use:- BGINFO Lets say you have a BGINFO executable, and a config file, that you want on all machines. That .BGI file will need to be hosted somewhere, and a script needs to grab that file, and place it. Example from competitor - https://community.syncromsp.com/t/scripting-overview/592#required_files

wh1te909 commented 2 years ago

good request yes we can do something like that

silversword411 commented 2 years ago

Probably best to do in TRMM long term, but mesh can also do it now: https://www.youtube.com/watch?v=UOIjWnsxsN8

sadnub commented 2 years ago

How do you envision the permissions to work on the uploaded files? Should those be downloadable publicly or just available to the agent?

sadnub commented 2 years ago

On another note, I have had really good luck embedded plain text files in powershell as here strings.

$batchfile = @"
@echo off
cd
Start "" /MIN /wait "C:\BgInfo\bginfo.exe" "C:\Bginfo\bginfoconfig.bgi" /timer:0 /nolicprompt
"@

$batchfile | Out-File -FilePath "$env:allusersprofile\Microsoft\Windows\Start Menu\Programs\StartUp\bginfo.bat" -Encoding ASCII

Now the script has no external dependencies and will run on anything anywhere.

dinger1986 commented 2 years ago

Accessible via the token the agent uses? Not public I don't think.

Would be useful for scripts to have a repository to download files from and maybe place them there as well?

jlydia commented 1 year ago

Any updates on this?

rwright-bci commented 9 months ago

Also very interested in this. Having it function like Syncro's implementation of it would be fantastic. We used Syncro for a time and that was one of its best features.