1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Improved event logs when running remote commands.

This commit is contained in:
Ylian Saint-Hilaire 2020-10-07 18:02:02 -07:00
parent 6f23c450b0
commit a435d57be5
5 changed files with 466 additions and 445 deletions

View file

@ -959,7 +959,6 @@ function createMeshCore(agent) {
}
case 'runcommands': {
if (mesh.cmdchild != null) { sendConsoleText("Run commands can't execute, already busy."); break; }
MeshServerLogEx(24, null, "Running commands", data);
sendConsoleText("Run commands (" + data.runAsUser + "): " + data.cmds);
// data.runAsUser: 0=Agent,1=UserOrAgent,2=UserOnly