mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Improved AmtConfig command in agent console.
This commit is contained in:
parent
3d3e46f5fa
commit
79c97af78b
2 changed files with 8 additions and 29 deletions
|
@ -1732,6 +1732,12 @@ module.exports.CreateMeshAgent = function (parent, db, ws, req, args, domain) {
|
|||
}
|
||||
break;
|
||||
}
|
||||
case 'amtconfig': {
|
||||
// Sent by the agent when the agent needs a Intel AMT APF connection to the server
|
||||
const cookie = parent.parent.encodeCookie({ a: 'apf', n: obj.dbNodeKey, m: obj.dbMeshKey }, parent.parent.loginCookieEncryptionKey);
|
||||
try { obj.send(JSON.stringify({ action: 'amtconfig', user: '**MeshAgentApfTunnel**', pass: cookie })); } catch (ex) { }
|
||||
break;
|
||||
}
|
||||
case 'scriptTask': {
|
||||
// TODO
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue