mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Intel AMT password discovery added to amtactivation.log.
This commit is contained in:
parent
3f6856cedc
commit
a32081d7d3
2 changed files with 11 additions and 4 deletions
|
@ -606,6 +606,11 @@ module.exports.CreateAmtManager = function (parent) {
|
|||
if (stack.wsman.comm.xtls == 1) { dev.aquired.hash = stack.wsman.comm.xtlsCertificate.fingerprint.split(':').join('').toLowerCase(); } else { delete dev.aquired.hash; }
|
||||
UpdateDevice(dev);
|
||||
|
||||
// If this is the new first user/pass for the device UUID, update the activation log now.
|
||||
if ((parent.amtPasswords != null) && (dev.mpsConnection != null) && (dev.mpsConnection.tag != null) && (dev.mpsConnection.tag.meiState != null) && (dev.mpsConnection.tag.meiState.UUID != null) && (parent.amtPasswords[dev.mpsConnection.tag.meiState.UUID] != null) && (parent.amtPasswords[dev.mpsConnection.tag.meiState.UUID][0] != dev.aquired.pass)) {
|
||||
parent.certificateOperations.logAmtActivation(parent.config.domains[dev.domainid], { time: new Date(), action: 'amtpassword', domain: dev.domainid, amtUuid: dev.mpsConnection.tag.meiState.UUID, amtRealm: dev.aquired.realm, user: dev.aquired.user, password: dev.aquired.pass, computerName: dev.name });
|
||||
}
|
||||
|
||||
// Perform Intel AMT clock sync
|
||||
attemptSyncClock(dev, function (dev) {
|
||||
// Check Intel AMT TLS state
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue