mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-12 11:01:52 +00:00
fixed recoverycore eval
This commit is contained in:
parent
74ffd77eda
commit
564d789e35
1 changed files with 1 additions and 1 deletions
|
@ -916,7 +916,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
|
|||
response = 'Proper usage: eval "JavaScript code"'; // Display correct command usage
|
||||
} else
|
||||
{
|
||||
response = JSON.stringify(mesh.eval(args['_'][0])); // This can only be run by trusted administrator.
|
||||
response = JSON.stringify(require('MeshAgent').eval(args['_'][0])); // This can only be run by trusted administrator.
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue