MeshCmd AmtUUID fix.

Ylian Saint-Hilaire committed Oct 30, 2021 at 20:08 UTC 3cb92683b6697e5dc2f520d06e8b84dfe8c65ae1
2 files changed +2 -8
agents/meshcmd.js
+1 -7
@@ -1397,13 +1397,7 @@ function getTrustedHashes(amtMei, func, tag) {
1397 // Called to get the UUID of Intel AMT, start by setting up MicroLMS if we are doing the operation on the local computer
1398 function getAmtUuid()
1399 {
1400 - if (settings.hostname != null)
1401 - {
1402 - getAmtUuidEx();
1403 - } else
1404 - {
1405 - if ((settings.hostname == '127.0.0.1') || (settings.hostname.toLowerCase() == 'localhost')) { settings.noconsole = true; startLms(getAmtUuidEx); return; } else { getAmtUuidEx(); }
1406 - }
1400 + if ((settings.hostname == null) || (settings.hostname == '127.0.0.1') || (settings.hostname.toLowerCase() == 'localhost')) { settings.noconsole = true; startLms(getAmtUuidEx); return; } else { getAmtUuidEx(); }
1401 }
1402
1403 // Fetch the computer's UUID by fetching the CIM_ComputerSystemPackage WSMAN object.
meshdesktopmultiplex.js
+1 -1
@@ -787,7 +787,7 @@ function CreateDesktopMultiplexor(parent, domain, nodeid, func) {
787 obj.sendToAllInputViewers(data);
788 break;
789 default:
790 - console.log('Un-handled agent command: ' + command);
790 + console.log('Un-handled agent command: ' + command + ', length: ' + cmdsize);
791 break;
792 }
793 }