Added .msh to MeshCentral Assistant.
Ylian Saint-Hilaire committed
May 17, 2021 at 23:43 UTC
dfff6dcecefc3ddcc67368275f946cbeeef1bda9
2 files changed
+1
-1
agents/MeshCentralAssistant.exe
Binary files a/agents/MeshCentralAssistant.exe and b/agents/MeshCentralAssistant.exe differ
meshagent.js
+1
-1
@@ -1501,7 +1501,7 @@ module.exports.CreateMeshAgent = function (parent, db, ws, req, args, domain) {
1501
const responseCmd = { action: 'meshToolInfo', name: command.name, tag: command.tag, sessionid: command.sessionid, hash: info.hash, size: info.size, url: info.url };
1502
if (command.cookie === true) { responseCmd.url += ('&auth=' + parent.parent.encodeCookie({ download: info.dlname }, parent.parent.loginCookieEncryptionKey)); }
1503
if (command.pipe === true) { responseCmd.pipe = true; }
1504
- if (parent.webCertificateHashs[domain.id] != null) { responseCmd.serverhash = Buffer.from(parent.webCertificateHashs[domain.id],'binary').toString('hex'); }
1504
+ if (parent.webCertificateHashs[domain.id] != null) { responseCmd.serverhash = Buffer.from(parent.webCertificateHashs[domain.id], 'binary').toString('hex'); }
1505
try { ws.send(JSON.stringify(responseCmd)); } catch (ex) { }
1506
break;
1507
}