This commit is contained in:
Ylian Saint-Hilaire 2020-01-10 16:25:12 -08:00
commit 9974c3d958

View File

@ -2173,9 +2173,10 @@ function createMeshCore(agent) {
break;
}
case 'ps': {
processManager.getProcesses(function (plist) {
processManager.getProcesses(function (plist)
{
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);
});
break;