From eb9b9d7e5399b3ba8a46541ab4460efbe550d46e Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Mon, 5 Apr 2021 14:59:05 -0700 Subject: [PATCH] Better Intel AMT manager status, comments. --- amtmanager.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/amtmanager.js b/amtmanager.js index 74ac11d9..f5ef3486 100644 --- a/amtmanager.js +++ b/amtmanager.js @@ -453,6 +453,7 @@ module.exports.CreateAmtManager = function (parent) { } // See what username/password we need to try + // We create an efficient strategy for trying different Intel AMT passwords. if (dev.acctry == null) { dev.acctry = []; @@ -661,7 +662,10 @@ module.exports.CreateAmtManager = function (parent) { if (dev.acctry.length > 0) { dev.acctry.shift(); } // We have another password to try, hold 20 second and try the next user/password. - if (dev.acctry.length > 0) { setTimeout(function () { if (isAmtDeviceValid(dev)) { attemptInitialContact(dev); } }, 20000); return; } + if (dev.acctry.length > 0) { + dev.consoleMsg("Holding 20 seconds and trying again with different credentials..."); + setTimeout(function () { if (isAmtDeviceValid(dev)) { attemptInitialContact(dev); } }, 20000); return; + } } // If this devics is in CCM mode and we have a bad password reset policy, do it now.