From c28e08137554ad5ed0a5db90666d30607e609800 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Wed, 14 Jul 2021 14:57:26 -0700 Subject: [PATCH] Fixed $ in device group on Linux when meshcmd amtconfig is used. --- agents/MeshCmd-signed.exe | Bin 4185344 -> 4187048 bytes agents/MeshCmd64-signed.exe | Bin 3799808 -> 3801512 bytes agents/MeshService-signed.exe | Bin 3398472 -> 3392512 bytes agents/MeshService64-signed.exe | Bin 3012936 -> 3012936 bytes agents/meshcmd.js | 37 +++++++++++++++++++++----------- amtmanager.js | 2 +- views/default.handlebars | 2 +- 7 files changed, 26 insertions(+), 15 deletions(-) diff --git a/agents/MeshCmd-signed.exe b/agents/MeshCmd-signed.exe index 66a99f3868f6b2f41047f7f95a9551bab3d88fe1..57a9f9fa46a35b4341dca10541f3cfeb1581d800 100644 GIT binary patch delta 9240 zcmb_B30zdw`XQ)@BA_gS3l~tB%Umun926PPkOH&MfMB)=;lNyE2xf3*aA}-BxM7Q# znR?n^rk0hNYvYo*oBNVw)~ht@<$LyjmDYP@%isTZ@10HX`G37X{C*#E?>XN&=ljmL zf46<-&5(8P-3-~-64I;a)u-(tie4=z=5G#Jv^j)_UI3v0VF0}W`T+C=2nXl~5CPC1 zU;scQz(9Z~fM|difI$F*0b&8-0OA1>0EPf00we(p1sDb}9AE@MG5`gT0+0%j1~3v} z6hJya27m;B2FL`E0x$qs04zW@Kn_4IfXuTwB(HM6C+uL}ajw)-FX1q*O6BZ!o4qPE zJ>A)0aj-RdLn&J$jHO^}Yf}^LGP8B2rX~qL&2+^fCuy`lPQ(|`<$es(!lL2i%}i9; z&pU6Hdv0W+;)R1}nC#TF8jID**{!A~VI7fgME@0{B0D#t@-~&5cGsDlbqx|F?Q*-l zdzRHUa&=Bk3DDdEr&OiN`F$o}{zN%&6SSk3@}Ln{jeUBdm77UTl+a9#so7b`Gv}5E zP}mv==WJ~$pQL6rxW3g|=d{?Ylu1In>TFhrt%+kT)_Pm6q$<^ir;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{5DDq^%LcBUd* z(L$wDD`@MF%Ux33nZDQy+>^GM!)L<%RB9fj-TP{F15bt%vFE(fS~*)9fF?OiJEBNh_;?-3A0W;h0?qLlF{VpQUGC4NM$U|qB$%yEuiHcME#Y~=DtE9$l zl#`R{&@GV1va`-f!<-2l$*SZ*R&7!w74zeR>e`;LFoj%@Th2#v8}yKfg0K#`0FNHM zPAIp|Q=DcED7#ej44tpJh@@tuR4k><;+$T)rmH%U3`F{@V=hP8=;yj#~%1ukRkGSmd%d6pjDUy^y^J`ZG)O&4}WTI$!czR(;u$*lI|U zzEF;hKb$9Ds!c1!JG8V1rJ}LiqmA%&97fl+aj|c;hek>0UaH$?4<_eDH4!*FD)t0V zRwX#Q_eeyVVB|WQeIjGGN{81>#Ij*Yo3hm6P-7FftTke8_ue-#@o=FUo4^-gqBDC7 QDSQ@T*&txW-$V=i16nLQ=Kufz diff --git a/agents/meshcmd.js b/agents/meshcmd.js index 29ca12c9..659e1d91 100644 --- a/agents/meshcmd.js +++ b/agents/meshcmd.js @@ -110,7 +110,7 @@ function run(argv) { //console.log('addedModules = ' + JSON.stringify(addedModules)); var actionpath = 'meshaction.txt'; if (args.actionfile != null) { actionpath = args.actionfile; } - var actions = ['HELP', 'ROUTE', 'MICROLMS', 'AMTCONFIG', 'AMTSCAN', 'AMTPOWER', 'AMTFEATURES', 'AMTNETWORK', 'AMTINFO', 'AMTINFODEBUG', 'AMTVERSIONS', 'AMTHASHES', 'AMTSAVESTATE', 'AMTUUID', 'AMTCCM', 'AMTDEACTIVATE', 'AMTACMDEACTIVATE', 'SMBIOS', 'RAWSMBIOS', 'MESHCOMMANDER', 'AMTAUDITLOG', 'AMTEVENTLOG', 'AMTPRESENCE', 'AMTWIFI', 'AMTWAKE', 'AMTSTARTCONFIG', 'AMTSTOPCONFIG']; + var actions = ['HELP', 'ROUTE', 'MICROLMS', 'AMTCONFIG', 'AMTSCAN', 'AMTPOWER', 'AMTFEATURES', 'AMTNETWORK', 'AMTINFO', 'AMTINFOJSON', 'AMTVERSIONS', 'AMTHASHES', 'AMTSAVESTATE', 'AMTUUID', 'AMTCCM', 'AMTDEACTIVATE', 'AMTACMDEACTIVATE', 'SMBIOS', 'RAWSMBIOS', 'MESHCOMMANDER', 'AMTAUDITLOG', 'AMTEVENTLOG', 'AMTPRESENCE', 'AMTWIFI', 'AMTWAKE', 'AMTSTARTCONFIG', 'AMTSTOPCONFIG']; // Load the action file var actionfile = null; @@ -223,8 +223,12 @@ function run(argv) { console.log(' --output [filename] Optional filename to write the results to.'); } else if (action == 'amtinfo') { console.log('AmtInfo action will get the version and activation state of Intel AMT on this computer. The command must be run on a computer with Intel AMT, must run as administrator and the Intel management driver must be installed. Example usage:\r\n\r\n meshcmd amtinfo'); + console.log('\r\nPossible arguments:\r\n'); + console.log(' --json Display all Intel AMT state in JSON format.'); } else if ((action == 'amtversion') || (action == 'amtversions')) { console.log('AmtVersions will display all version information about Intel AMT on this computer. The command must be run on a computer with Intel AMT, must run as administrator and the Intel management driver must be installed. Example usage:\r\n\r\n meshcmd amtversions'); + console.log('\r\nPossible arguments:\r\n'); + console.log(' --json Display all Intel AMT state in JSON format.'); } else if (action == 'amthashes') { console.log('Amthashes will display all trusted activations hashes for Intel AMT on this computer. The command must be run on a computer with Intel AMT, must run as administrator and the Intel management driver must be installed. These certificates hashes are used by Intel AMT when performing activation into ACM mode. Example usage:\r\n\r\n meshcmd amthashes'); } else if ((action == 'microlms') || (action == 'lms') || (action == 'amtlms')) { @@ -485,15 +489,19 @@ function run(argv) { try { amtMeiModule = require('amt-mei'); amtMei = new amtMeiModule(); } catch (ex) { console.log(ex); exit(1); return; } amtMei.on('error', function (e) { console.log('ERROR: ' + e); exit(1); return; }); amtMei.getVersion(function (val) { - console.log("BIOS Version = " + val.BiosVersion.toString()); - for (var version in val.Versions) { - var extras = '', skuBits = ['', 'iQST', 'ASF', 'AMT', 'ISM', 'TPM', '', '', 'HomeIT', '', 'WOX', '', '', 'AT-p', 'Corporate', 'L3 Mgt Upgrade']; - if (val.Versions[version].Description == 'Sku') { - var n = parseInt(val.Versions[version].Version), x = [], xx = 1; - for (var i = 0; i < skuBits.length; i++) { if ((n & xx) != 0) { x.push(skuBits[i]); } xx = xx << 1; } - if (x.length > 0) { extras = ' (' + x.join(', ') + ')' } + if (args.json) { + console.log(JSON.stringify(val, null, 2)); + } else { + console.log("BIOS Version = " + val.BiosVersion.toString()); + for (var version in val.Versions) { + var extras = '', skuBits = ['', 'iQST', 'ASF', 'AMT', 'ISM', 'TPM', '', '', 'HomeIT', '', 'WOX', '', '', 'AT-p', 'Corporate', 'L3 Mgt Upgrade']; + if (val.Versions[version].Description == 'Sku') { + var n = parseInt(val.Versions[version].Version), x = [], xx = 1; + for (var i = 0; i < skuBits.length; i++) { if ((n & xx) != 0) { x.push(skuBits[i]); } xx = xx << 1; } + if (x.length > 0) { extras = ' (' + x.join(', ') + ')' } + } + console.log(val.Versions[version].Description + " = " + val.Versions[version].Version + extras); } - console.log(val.Versions[version].Description + " = " + val.Versions[version].Version + extras); } exit(1); return; }); @@ -534,7 +542,7 @@ function run(argv) { } amtMei.getProvisioningState(function (result) { if (result) { mestate.ProvisioningState = result; } }); amtMei.getProvisioningMode(function (result) { if (result) { mestate.ProvisioningMode = result; } }); - amtMei.getEHBCState(function (result) { if (result) { mestate.ehbc = result; } }); + amtMei.getEHBCState(function (result) { mestate.ehbc = ((result === true) || (typeof result == 'object') && (result.EHBC === true)); }); amtMei.getControlMode(function (result) { if (result) { mestate.controlmode = result; } }); amtMei.getMACAddresses(function (result) { if (result) { mestate.mac = result; } }); amtMei.getLanInterfaceSettings(0, function (result) { if (result) { mestate.net0 = result; } }); @@ -543,7 +551,9 @@ function run(argv) { amtMei.getRemoteAccessConnectionStatus(function (result) { if ((result != null) && (result.status == 0)) { mestate.networkStatus = result.networkStatus; mestate.remoteAccessStatus = result.remoteAccessStatus; mestate.remoteAccessTrigger = result.remoteAccessTrigger; mestate.mpsHostname = result.mpsHostname; } }); amtMei.getDnsSuffix(function (result) { if (result) { mestate.DnsSuffix = result; } - if (mestate.ver && mestate.ProvisioningState && mestate.ProvisioningMode) { + if (args.json) { + console.log(JSON.stringify(mestate, null, 2)); + } else if (mestate.ver && mestate.ProvisioningState && mestate.ProvisioningMode) { var str = 'Intel ME v' + mestate.ver; if (mestate.sku & 8) { str = 'Intel AMT v' + mestate.ver } else if (mestate.sku & 16) { str = 'Intel SM v' + mestate.ver } @@ -558,7 +568,7 @@ function run(argv) { } } } - if ((mestate.ehbc) && (mestate.ehbc.EHBC == true)) { str += ', EHBC enabled'; } + if (mestate.ehbc) { str += ', EHBC enabled'; } str += '.'; if (mestate.net0 != null) { str += '\r\nWired ' + ((mestate.net0.enabled == 1) ? 'Enabled' : 'Disabled') + ((mestate.net0.dhcpEnabled == 1) ? ', DHCP' : ', Static') + ', ' + mestate.net0.mac + (mestate.net0.address == '0.0.0.0' ? '' : (', ' + mestate.net0.address)); } if (mestate.net1 != null) { str += '\r\nWireless ' + ((mestate.net1.enabled == 1) ? 'Enabled' : 'Disabled') + ((mestate.net1.dhcpEnabled == 1) ? ', DHCP' : ', Static') + ', ' + mestate.net1.mac + (mestate.net1.address == '0.0.0.0' ? '' : (', ' + mestate.net1.address)); } @@ -596,7 +606,7 @@ function run(argv) { } }); } catch (ex) { console.log("Unable to perform MEI operations, try running as " + ((process.platform == 'win32')?"administrator.":"root.")); exit(1); return; } - } else if (settings.action == 'amtinfodebug') { + } else if (settings.action == 'amtinfojson') { // Display Intel AMT version and activation state getMeiState(15, function (state) { console.log(JSON.stringify(state, null, 2)); exit(1); }); // Flags: 1 = Versions, 2 = OsAdmin, 4 = Hashes, 8 = Network } else if (settings.action == 'amtsavestate') { @@ -639,6 +649,7 @@ function run(argv) { // Start Intel AMT configuration if ((settings.url == null) || (typeof settings.url != 'string') || (settings.url == '')) { console.log('No MeshCentral server URL specified, use --url [url].'); exit(1); return; } if ((settings.id == null) || (typeof settings.id != 'string') || (settings.id == '')) { console.log('No device group identifier specified, use --id [identifier].'); exit(1); return; } + settings.id = settings.id.replace('\'', ''); // Remove single quote. debug(1, "Settings: " + JSON.stringify(settings)); configureAmt(); } else if (settings.action == 'amtccm') { diff --git a/amtmanager.js b/amtmanager.js index af76aa9e..9e8eb2cf 100644 --- a/amtmanager.js +++ b/amtmanager.js @@ -1875,7 +1875,7 @@ module.exports.CreateAmtManager = function (parent) { function activateIntelAmt(dev) { // Find the Intel AMT policy const mesh = parent.webserver.meshes[dev.meshid]; - if (mesh == null) { dev.consoleMsg("Unable to find device group."); removeAmtDevice(dev, 36); return false; } + if (mesh == null) { dev.consoleMsg("Unable to find device group (" + dev.meshid + ")."); removeAmtDevice(dev, 36); return false; } var amtPolicy = 0; // 0 = Do nothing, 1 = Deactivate CCM, 2 = CCM, 3 = ACM var ccmPolicy = 0; // Only used when in ACM policy: 0 = Do nothing, 1 = Deactivate CCM, 2 = CCM is ACM fails if (mesh.amt != null) { if (typeof mesh.amt.type == 'number') { amtPolicy = mesh.amt.type; } if (typeof mesh.amt.ccm == 'number') { ccmPolicy = mesh.amt.ccm; } } diff --git a/views/default.handlebars b/views/default.handlebars index 8807e66b..8d7d58e1 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -4575,7 +4575,7 @@ url = 'ws://' + servername + portStr + domainUrl; } var x = format("Add, activate and configure Intel® AMT to group \"{0}\" by periodically running MeshCmd as administrator on the remote device.", EscapeHtml(mesh.name)) + '

'; - x += ''; + x += ''; if (serverinfo.amtAcmFqdn != null) { x += ('
' + "For ACM activation, Intel® AMT will need to be set to the following trusted FQDN:" + ' ' + serverinfo.amtAcmFqdn.join(', ') + '
'); }