mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-24 13:13:13 -05:00
Merge branch 'master' of https://github.com/Ylianst/MeshCentral
This commit is contained in:
commit
6e4b31cc96
@ -2173,9 +2173,10 @@ function createMeshCore(agent) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 'ps': {
|
case 'ps': {
|
||||||
processManager.getProcesses(function (plist) {
|
processManager.getProcesses(function (plist)
|
||||||
|
{
|
||||||
var x = '';
|
var x = '';
|
||||||
for (var i in plist) { x += i + ', ' + plist[i].cmd + ((plist[i].user) ? (', ' + plist[i].user) : '') + '\r\n'; }
|
for (var i in plist) { x += i + ((plist[i].user) ? (', ' + plist[i].user) : '') + ', ' + plist[i].cmd + '\r\n'; }
|
||||||
sendConsoleText(x, sessionid);
|
sendConsoleText(x, sessionid);
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user