mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-20 20:44:13 -04:00
1015 lines
2.3 MiB
Plaintext
1015 lines
2.3 MiB
Plaintext
|
Server Ctrl-C exit...
|
|||
|
MeshCentral HTTP redirection server running on port 80.
|
|||
|
MeshCentral v0.8.27, Hybrid (LAN + WAN) mode.
|
|||
|
MeshCentral Intel(R) AMT server running on central.mesh.meshcentral.com:4433.
|
|||
|
MeshCentral HTTPS server running on central.mesh.meshcentral.com:443.
|
|||
|
Server Ctrl-C exit...
|
|||
|
MeshCentral HTTP redirection server running on port 80.
|
|||
|
MeshCentral v0.8.27, Hybrid (LAN + WAN) mode.
|
|||
|
MeshCentral Intel(R) AMT server running on central.mesh.meshcentral.com:4433.
|
|||
|
MeshCentral HTTPS server running on central.mesh.meshcentral.com:443.
|
|||
|
ERR: {"name":"node-rdpjs","hostname":"Central","pid":11336,"level":40,"msg":"undefined","time":"2021-05-04T21:59:37.526Z","v":0}
|
|||
|
ERR: {"name":"node-rdpjs","hostname":"Central","pid":11336,"level":30,"msg":"MCS DISCONNECT_PROVIDER_ULTIMATUM","time":"2021-05-04T21:59:47.488Z","v":0}
|
|||
|
TypeError: Cannot read property 'user' of undefined
|
|||
|
at Object.obj.HandleEvent (C:\Users\Default.DESKTOP-9CGK2DI\Desktop\AmtWebApp\meshcentral\amtmanager.js:318:123)
|
|||
|
at Object.CreateMeshCentralServer.obj.DispatchEvent (C:\Users\Default.DESKTOP-9CGK2DI\Desktop\AmtWebApp\meshcentral\meshcentral.js:1964:57)
|
|||
|
at Array.<anonymous> (C:\Users\Default.DESKTOP-9CGK2DI\Desktop\AmtWebApp\meshcentral\amtscanner.js:353:32)
|
|||
|
at fileBulkReadCompleted (C:\Users\Default.DESKTOP-9CGK2DI\Desktop\AmtWebApp\meshcentral\db.js:1711:106)
|
|||
|
at C:\Users\Default.DESKTOP-9CGK2DI\Desktop\AmtWebApp\meshcentral\node_modules\mongodb\lib\utils.js:697:5
|
|||
|
at handleCallback (C:\Users\Default.DESKTOP-9CGK2DI\Desktop\AmtWebApp\meshcentral\node_modules\mongodb\lib\utils.js:102:55)
|
|||
|
at cursor.close (C:\Users\Default.DESKTOP-9CGK2DI\Desktop\AmtWebApp\meshcentral\node_modules\mongodb\lib\cursor.js:840:66)
|
|||
|
at C:\Users\Default.DESKTOP-9CGK2DI\Desktop\AmtWebApp\meshcentral\node_modules\mongodb\lib\utils.js:697:5
|
|||
|
at _endSession (C:\Users\Default.DESKTOP-9CGK2DI\Desktop\AmtWebApp\meshcentral\node_modules\mongodb\lib\cursor.js:925:9)
|
|||
|
at Cursor._endSession (C:\Users\Default.DESKTOP-9CGK2DI\Desktop\AmtWebApp\meshcentral\node_modules\mongodb\lib\core\cursor.js:397:7) { parent:
|
|||
|
{ db:
|
|||
|
{ identifier: 'c20e5eba18c5b617ebc4bea79f7e573396177b25058fb03949591d4f62f6d12107d55f90771e26ba53c8e6e0dd486394',
|
|||
|
dbKey: null,
|
|||
|
dbRecordsEncryptKey: <Buffer 7a 52 b8 bc 34 d4 e8 cd c1 6a 94 88 07 47 0a a5 0a 90 21 14 56 a9 51 70 30 59 9f 35 01 63 14 44>,
|
|||
|
dbRecordsDecryptKey: <Buffer 7a 52 b8 bc 34 d4 e8 cd c1 6a 94 88 07 47 0a a5 0a 90 21 14 56 a9 51 70 30 59 9f 35 01 63 14 44>,
|
|||
|
changeStream: false,
|
|||
|
pluginsActive: false,
|
|||
|
dbCounters: [Object],
|
|||
|
filePendingGet: null,
|
|||
|
filePendingGets: [Object],
|
|||
|
filePendingRemove: null,
|
|||
|
filePendingRemoves: null,
|
|||
|
filePendingSet: true,
|
|||
|
filePendingSets: null,
|
|||
|
filePendingCb: null,
|
|||
|
filePendingCbs: null,
|
|||
|
powerFilePendingSet: false,
|
|||
|
powerFilePendingSets: null,
|
|||
|
powerFilePendingCb: null,
|
|||
|
powerFilePendingCbs: null,
|
|||
|
eventsFilePendingSet: true,
|
|||
|
eventsFilePendingSets: null,
|
|||
|
eventsFilePendingCb: null,
|
|||
|
eventsFilePendingCbs: null,
|
|||
|
SetupDatabase: [Function],
|
|||
|
maintenance: [Function],
|
|||
|
cleanup: [Function],
|
|||
|
getEncryptDataKey: [Function],
|
|||
|
encryptData: [Function],
|
|||
|
decryptData: [Function],
|
|||
|
getStats: [Function],
|
|||
|
getValueOfTheDay: [Function],
|
|||
|
escapeBase64: [Function: escapeBase64],
|
|||
|
performRecordEncryptionRecode: [Function],
|
|||
|
databaseType: 3,
|
|||
|
getBackupConfig: [Function],
|
|||
|
checkBackupCapability: [Function],
|
|||
|
performingBackup: false,
|
|||
|
performBackup: [Function],
|
|||
|
performCloudBackup: [Function],
|
|||
|
nedbtodb: [Function],
|
|||
|
file: [Object],
|
|||
|
eventsfile: [Object],
|
|||
|
powerfile: [Object],
|
|||
|
smbiosfile: [Object],
|
|||
|
serverstatsfile: [Object],
|
|||
|
Set: [Function],
|
|||
|
Get: [Function],
|
|||
|
GetAll: [Function],
|
|||
|
GetHash: [Function],
|
|||
|
GetAllTypeNoTypeField: [Function],
|
|||
|
GetAllTypeNoTypeFieldMeshFiltered: [Function],
|
|||
|
GetAllTypeNodeFiltered: [Function],
|
|||
|
GetAllType: [Function],
|
|||
|
GetAllIdsOfType: [Function],
|
|||
|
GetUserWithEmail: [Function],
|
|||
|
GetUserWithVerifiedEmail: [Function],
|
|||
|
Remove: [Function],
|
|||
|
RemoveAll: [Function],
|
|||
|
RemoveAllOfType: [Function],
|
|||
|
InsertMany: [Function],
|
|||
|
RemoveMeshDocuments: [Function],
|
|||
|
MakeSiteAdmin: [Function],
|
|||
|
DeleteDomain: [Function],
|
|||
|
SetUser: [Function],
|
|||
|
dispose: [Function],
|
|||
|
getLocalAmtNodes: [Function],
|
|||
|
getAmtUuidMeshNode: [Function],
|
|||
|
isMaxType: [Function],
|
|||
|
GetAllEvents: [Function],
|
|||
|
StoreEvent: [Function],
|
|||
|
GetEvents: [Function],
|
|||
|
GetEventsWithLimit: [Function],
|
|||
|
GetUserEvents: [Function],
|
|||
|
GetUserEventsWithLimit: [Function],
|
|||
|
GetUserLoginEvents: [Function],
|
|||
|
GetNodeEventsWithLimit: [Function],
|
|||
|
GetNodeEventsSelfWithLimit: [Function],
|
|||
|
RemoveAllEvents: [Function],
|
|||
|
RemoveAllNodeEvents: [Function],
|
|||
|
RemoveAllUserEvents: [Function],
|
|||
|
GetFailedLoginCount: [Function],
|
|||
|
getAllPower: [Function],
|
|||
|
storePowerEvent: [Function],
|
|||
|
getPowerTimeline: [Function],
|
|||
|
removeAllPowerEvents: [Function],
|
|||
|
removeAllPowerEventsForNode: [Function],
|
|||
|
GetAllSMBIOS: [Function],
|
|||
|
SetSMBIOS: [Function],
|
|||
|
RemoveSMBIOS: [Function],
|
|||
|
GetSMBIOS: [Function],
|
|||
|
SetServerStats: [Function],
|
|||
|
GetServerStats: [Function],
|
|||
|
getConfigFile: [Function],
|
|||
|
setConfigFile: [Function],
|
|||
|
listConfigFiles: [Function],
|
|||
|
getAllConfigFiles: [Function],
|
|||
|
getDbStats: [Function] },
|
|||
|
webserver:
|
|||
|
{ fs: [Object],
|
|||
|
net: [Object],
|
|||
|
tls: [Object],
|
|||
|
path: [Object],
|
|||
|
bodyParser: [Object],
|
|||
|
session: [Function: cookieSession],
|
|||
|
exphbs: [Object],
|
|||
|
crypto: [Object],
|
|||
|
common: [Object],
|
|||
|
express: [Object],
|
|||
|
meshAgentHandler: [Object],
|
|||
|
meshRelayHandler: [Object],
|
|||
|
meshDeviceFileHandler: [Object],
|
|||
|
meshDesktopMultiplexHandler: [Object],
|
|||
|
meshIderHandler: [Object],
|
|||
|
meshUserHandler: [Object],
|
|||
|
interceptor: [Object],
|
|||
|
uaparser: [Object],
|
|||
|
webauthn: [Object],
|
|||
|
args: [Object],
|
|||
|
parent: [Circular],
|
|||
|
filespath: 'C:\\Users\\Default.DESKTOP-9CGK2DI\\Desktop\\AmtWebApp\\meshcentral-files',
|
|||
|
db: [Object],
|
|||
|
app: [Object],
|
|||
|
tlsServer: [Object],
|
|||
|
tcpServer: [Object],
|
|||
|
certificates: [Object],
|
|||
|
users: [Object],
|
|||
|
meshes: [Object],
|
|||
|
userGroups: [Object],
|
|||
|
userAllowedIp: [Object],
|
|||
|
agentAllowedIp: undefined,
|
|||
|
agentBlockedIp: undefined,
|
|||
|
tlsSniCredentials: null,
|
|||
|
dnsDomains: {},
|
|||
|
relaySessionCount: 0,
|
|||
|
relaySessionErrorCount: 0,
|
|||
|
blockedUsers: 0,
|
|||
|
blockedAgents: 0,
|
|||
|
renderPages: [Object],
|
|||
|
renderLanguages: [Object],
|
|||
|
webCertificateHash: '\u0002@4Ïhs$æJAÎ*\u0017F{Íç\u000f²®/\u001cíÞ\u000bl\u0017d\tm\u0018\u0007¾dû¡)Q\tYÅ»Û ',
|
|||
|
webCertificateHashs: [Object],
|
|||
|
webCertificateHashBase64: 'AkA0z2hzJOZKQc4qF0Z7zecPsq4vHJft3gtsF2QJbRgHf75k@6EpUQlZxbuB26Cb',
|
|||
|
webCertificateFullHash: 'êötê±1Ów_\u0012Ï©ÉxÑ
éʯ:
KðëOùL-lSÊ=ÄVÚ\u0014\u0002Ffû½®/É',
|
|||
|
webCertificateFullHashs: [Object],
|
|||
|
webCertificateExpire: [Object],
|
|||
|
agentCertificateHashHex: 'd99362d5ed8baea8bf9e743b34b242256370c460fd66cb62373c6cfcb204d6d707403e396cf0ef6dc2b3a42f735135fd',
|
|||
|
agentCertificateHashBase64: '2ZNi1e2Lrqi$nnQ7NLJCJWNwxGD9ZstiNzxs$LIE1tcHQD45bPDvbcKzpC9zUTX9',
|
|||
|
agentCertificateAsn1: '0\u00040\u0002ú \u0003\u0002\u0001\u0002\u0002\u0003\u0005f0\r\u0006\t*H÷\r\u0001\u0001\f\u0005\u00000E1\u001f0\u001d\u0006\u0003U\u0004\u0003\u0013\u0016MeshCentralRoot-f695371\u00100\u000e\u0006\u0003U\u0004\n\u0013\u0007unknown1\u00100\u000e\u0006\u0003U\u0004\u0006\u0013\u0007unknown0\u001e\u0017\r161014014303Z\u0017\r471014014303Z0(1&0$\u0006\u0003U\u0004\u0003\u0013\u001dMeshCentralAgentServer-3649ee0\u0001¢0\r\u0006\t*H÷\r\u0001\u0001\u0001\u0005\u0000\u0003\u0001\u00000\u0001\u0002\u0001\u0000\u00061$e{õ!ë\u0018G×ý\u0014÷]E\u001feÝ\u0012ü/ÇÂl ;¨±æjÑD»·¢\u0013"¦¼[ÕÝ_ÖA0KÌF6u\u00100¤¯|{;ÅZÿµóx·\u0017\u001f|÷=üJ!3ìVµKÁFqDeÖª<|eã\u0014ó°\u0014¿FÀMpo\\ä\u001fº¦ýZ\u0013&\fl\u0000\fÜ\u001dµ?Ý:\u0003$¤\u0014ªÈ\u0019PqtoT\u0015\r»fÊá\u00182pñ©¿_!\rXO\n½¶£3 @§ñúÝJ\u0010íO\u0016|\u00119Ã9¡sKzdÉ·v\u001cl¡Ã\u0004GâN:ùµ=ª\u0011W$tTb^Ñ\u0017ÅD+4ó\u0000Ën/7úvA\u0010¦¿£ò\'E-«Ýåë\u001fm\u0007jÕݲm\u0005<ð\u0005TMa7gºúêçÀÓ üäöã¸\u001d*ëåjïŬ¸X¬p\u000bZÝ\t̸§[¯OÛúJÑ0?KÂë¾Ç¤\u0007^\t>dï\u001brS²\u001fòp\f`³öÈÏ´ç´|nÛæëag\u001e¿\u0011}Yº9\u0019k2¼²QF±ì²BWF\u0002\u0003\u0001\u0000\u0001£§0¤0\t\u0006\u0003U\u001d\u0013\u0004\u00020\u00000\u000b\u0006\u0003U\u001d\u000f\u0004\u0004\u0003\u0002\u0002ô0\u0013\u0006\u0003U\u001d%\u0004\f0\n\u0006\b+\u0006\u0001\u0005\u0005\u0007\u0003\u00010\u0011\u0006\t`H\u0001øB\u0001\u0001\u0004\u0004\u0003\u0002\u0006@0\u001d\u0006\u0003U\u001d\u000e\u0004\u0016\u0004\u00146Iî\u000b\bªDãIÅLa¸è±Í:2÷0C\u0006\u0003U\u001d\u0011\u0004<0:%http://MeshCentralAgentServer-3649ee/\u0011http://localhost/0\r\u0006\t*H÷\r\u0001\u0001\f\u0005\u0000\u0003\u0001\u0000m6×\u001bÍym=¯o÷W\u0019º;÷Ï\u0019ÎÊ\bLõìr»\u0016ïzå\u0001Q¡y\b¡B_\u000fñ±Äº£Æ\u0004\u0019çÑQ½U6~ehqw»S6±°céÁLÑ}ó*PÄNëg\b\u0015\u0018±É\u001fd¥)\u000fUÍ\u0001þ\\Ø-P÷ÂÀE.ª\u0012,Càèe&ZääYRÄ\réÕ\u001fÌü4Lcî3x\u0005Eô¾yYÚío\u0012:\u0016XÀìÉD\\íPiÁd¶ñͬOXf[mxºØÞö\u001eéK\u001eÄ\u00147X»Ô3¥/\n½\u001dɵ\u0015ðÉ(ÇÈ;T.,JI« !ûÚ}\u0007ÒeêüÍïeÜ%èGÖüÀÍõ+Ãk_Â\u000bXÞ\u000eÛÎzÛî¤ETiåÎúx)É¢O AìÐZMª|V\u0014+°]D¡É¶\u0002X¾¤c\u0001¼Ç½äÓTÎ5.«·oØAÝA¯\r@§X¼rb²D]ú«¶\u000b)2\u001dR½ô\u0002+kÁ\u000fgUfËN\u0018e$¤jÉæÆò\u0007.m!¾p0ÒüG x¼Ç×\r¨',
|
|||
|
defaultWebCertificateHash: '\u0002@4Ïhs$æJAÎ*\u0017F{Íç\u000f²®/\u001cíÞ\u000bl\u0017d\tm\u0018\u0007¾dû¡)Q\tYÅ»Û ',
|
|||
|
defaultWebCertificateFullHash: 'êötê±1Ów_\u0012Ï©ÉxÑ
éʯ:
KðëOùL-lSÊ=ÄVÚ\u0014\u0002Ffû½®/É',
|
|||
|
swarmCertificateAsn1: '0\u0002ù0\u0001á \u0003\u0002\u0001\u0002\u0002\b464986690\r\u0006\t*H÷\r\u0001\u0001\u000b\u0005\u0000031\u000b0\t\u0006\u0003U\u0004\u0006\u0013\u0002us1\u000f0\r\u0006\u0003U\u0004\n\u0013\u0006sample1\u00130\u0011\u0006\u0003U\u0004\u0003\u0013\nMasterRoot0\u001e\u0017\r120802193045Z\u0017\r391219193045Z0 1\u001e0\u001c\u0006\u0003U\u0004\u0003\u0013\u0015meshcentral.intel.com0\u0001"0\r\u0006\t*H÷\r\u0001\u0001\u0001\u0005\u0000\u0003\u0001\u000f\u00000\u0001\n\u0002\u0001\u0001\u0000ÓÐ5¼\u0016Ìç¿e\u00165\u0018\u0005¡¢$]|\b´!$\u001fD|6«õlórVs\u000fqh\\ò|*ZöZÒÈ|xGoEÅEñ\u0018èéË\u0006\\\nK\u0001ñï¡|Ù¯hC½;\u001b¬A\u001e¼ß·\u0019xj7Æâ¤L«èÃD=øY«A<ÉùñXý=åÓë\u0017\u000etágË\u0013H\u0017güÊþѵ·\u001aozkßݶ`ÆfÐÂÃx?|âÁª\u0007ÈáPòàPb·\u0017´éFÀíDH/9º§þÜsÆ^×\u001c"C#ÂuÁÌiãצR\u0017\u0015\\°`\u000f×\u0015\u000fV\u00104!YÓjîo*B;DäÜê§ë;¯¢A¤`HCªÒÏö\u0016:¾NÂu¡\u0002\u0003\u0001\u0000\u0001£$0"0\u000b\u0006\u0003U\u001d\u000f\u0004\u0004\u0003\u0002\u0003¨0\u0013\u0006\u0003U\u001d%\u0004\f0\n\u0006\b+\u0006\u0001\u0005\u0005\u0007\u0003\u00010\r\u0006\t*H÷\r\u0001\u0001\u000b\u0005\u0000\u0003\u0001\u0001\u0000X \u000e_Òü\u000b¨1\u0019î\u001bH\u0001n\u000b\u000es¾\u001fÞ/eÓ¨\tÏKÜ¿9V³ËMA6%\u0007haè¡\u001cÆÀBê\u00162Þ)X/®\u0011¥\u001dà÷¦¡«½\nk|ª6TæÜñ)X¨Káfº æ¹Ý\u0012ÛV°í}}\u0002ê}&\u000b1óÒ5ªHÇ\u001fl-ß\u001dÍi¤Ü=\fÐc®\u0004(yVå«Ëþ¦1¯bÛnðfã¢É\u0017¾lÆ¢Cçö&ÏÕOy(}@fk\u0007_\r©\u000b¢ÍýÄÆÜ1f==IÓød ßÂ)?$m[\u0007ßÛÊûÞݾùR×Wyjê\n¬
͹n/%ù׺ü0Mÿ',
|
|||
|
swarmCertificateHash384: 'q`\u0006÷ÇBDÃÿ(û5ÒJ&D7i
Uj²ÿ pÛiÕÕ$£¥¡äuß\u001e½¯¼',
|
|||
|
swarmCertificateHash256: 'J{y´BÙvßè\u001axÑ\u001cæfãØ/S§\'\u001a\u001b®9àØä',
|
|||
|
wsagents: [Object],
|
|||
|
wsagentsWithBadWebCerts: {},
|
|||
|
wsagentsDisconnections: {},
|
|||
|
wsagentsDisconnectionsTimer: [Object],
|
|||
|
duplicateAgentsLog: {},
|
|||
|
wssessions: [Object],
|
|||
|
wssessions2: [Object],
|
|||
|
wsPeerSessions: {},
|
|||
|
wsPeerSessions2: {},
|
|||
|
wsPeerSessions3: {},
|
|||
|
sessionsCount: {},
|
|||
|
wsrelays: {},
|
|||
|
desktoprelays: {},
|
|||
|
wsPeerRelays: {},
|
|||
|
emailLanguages: [Object],
|
|||
|
cleanDevice: [Function],
|
|||
|
getStats: [Function],
|
|||
|
agentStats: [Object],
|
|||
|
getAgentStats: [Function],
|
|||
|
getAgentIssues: [Function],
|
|||
|
setAgentIssue: [Function],
|
|||
|
agentIssues: [],
|
|||
|
authenticate: [Function],
|
|||
|
checkUserPassword: [Function],
|
|||
|
checkOldUserPasswords: [Function],
|
|||
|
isTrustedCert: [Function],
|
|||
|
handleDomainRedirect: [Function],
|
|||
|
getServerFilePath: [Function],
|
|||
|
getQuota: [Function],
|
|||
|
subscribe: [Function],
|
|||
|
handleAmtEventRequest: [Function],
|
|||
|
handleMeshAgentRequest: [Function],
|
|||
|
getWebServerName: [Function],
|
|||
|
handleMeshOsxAgentRequest: [Function],
|
|||
|
handleMeshSettingsRequest: [Function],
|
|||
|
handleDevicePowerEvents: [Function],
|
|||
|
forceMeshAgentDisconnect: [Function],
|
|||
|
sendMeshAgentCore: [Function],
|
|||
|
recountSessions: [Function],
|
|||
|
GetNodeWithRights: [Function],
|
|||
|
GetAllMeshWithRights: [Function],
|
|||
|
GetAllMeshIdWithRights: [Function],
|
|||
|
GetMeshRights: [Function],
|
|||
|
IsMeshViewable: [Function],
|
|||
|
GetNodeRights: [Function],
|
|||
|
CreateMeshDispatchTargets: [Function],
|
|||
|
CreateNodeDispatchTargets: [Function],
|
|||
|
CloneSafeUser: [Function],
|
|||
|
CloneSafeNode: [Function],
|
|||
|
CloneSafeMesh: [Function],
|
|||
|
filterUserWebState: [Function],
|
|||
|
routeAgentCommand: [Function],
|
|||
|
getLanguageCodes: [Function],
|
|||
|
performWebPush: [Function],
|
|||
|
removePmtFromAllOtherNodes: [Function],
|
|||
|
badLoginTable: {},
|
|||
|
badLoginTableLastClean: 0,
|
|||
|
setbadLogin: [Function],
|
|||
|
checkAllowLogin: [Function],
|
|||
|
cleanBadLoginTable: [Function],
|
|||
|
httpAuthRandom: <Buffer f6 b3 66 10 5e 94 d4 64 54 75 27 9e a9 00 09 fa 84 3f 8a 7c fa 42 80 78 00 74 ce 56 16 60 60 e9 0d db d8 97 40 a4 c7 c6 88 fc 7c e4 5b 4f 9b 40>,
|
|||
|
httpAuthRealm: '38b4bdd2b5ab9ddb334b4f9034e660c9',
|
|||
|
relayRandom: <Buffer 35 45 bf c7 36 09 1f 89 12 dc fa ad 66 b5 15 52 2a 11 b2 13 a7 41 63 90 21 c3 1a 3a 2c 8d 46 dc 28 9f 0b 9d f4 94 70 43 01 e5 e2 04 10 a6 c8 97>,
|
|||
|
expressWs: [Object] },
|
|||
|
redirserver:
|
|||
|
{ parent: [Circular],
|
|||
|
db: [Object],
|
|||
|
args: [Object],
|
|||
|
certificates: [Object],
|
|||
|
express: [Object],
|
|||
|
net: [Object],
|
|||
|
app: [Object],
|
|||
|
tcpServer: [Object],
|
|||
|
port: 80,
|
|||
|
hookMainWebServer: [Function] },
|
|||
|
mpsserver:
|
|||
|
{ fs: [Object],
|
|||
|
path: [Object],
|
|||
|
parent: [Circular],
|
|||
|
db: [Object],
|
|||
|
args: [Object],
|
|||
|
certificates: [Object],
|
|||
|
ciraConnections: {},
|
|||
|
httpResponses: [Object],
|
|||
|
server: [Object],
|
|||
|
getStats: [Function],
|
|||
|
onWebSocketConnection: [Function],
|
|||
|
close: [Function],
|
|||
|
closeAllForNode: [Function],
|
|||
|
SendJsonControl: [Function],
|
|||
|
GetConnectionToNode: [Function],
|
|||
|
SetupChannelToNode: [Function],
|
|||
|
SetupChannel: [Function],
|
|||
|
changeDeviceMesh: [Function],
|
|||
|
addHttpFileResponse: [Function] },
|
|||
|
mqttbroker: null,
|
|||
|
swarmserver: null,
|
|||
|
mailserver: null,
|
|||
|
smsserver: null,
|
|||
|
amtEventHandler: { parent: [Circular], handleAmtEvent: [Function] },
|
|||
|
pluginHandler: null,
|
|||
|
amtScanner:
|
|||
|
{ active: true,
|
|||
|
parent: [Circular],
|
|||
|
net: [Object],
|
|||
|
tls: [Object],
|
|||
|
dns: [Object],
|
|||
|
dgram: [Object],
|
|||
|
common: [Object],
|
|||
|
servers: [Object],
|
|||
|
rserver: {},
|
|||
|
rpacket: null,
|
|||
|
tagToId: {},
|
|||
|
scanTable: [Object],
|
|||
|
scanTableTags: [Object],
|
|||
|
pendingSends: [Object],
|
|||
|
pendingSendTimer: [Object],
|
|||
|
mainTimer: [Object],
|
|||
|
nextTag: 22,
|
|||
|
buildRmcpPing: [Function],
|
|||
|
start: [Function],
|
|||
|
stop: [Function],
|
|||
|
performRangeScan: [Function],
|
|||
|
parseIpv4Range: [Function],
|
|||
|
parseIpv4Addr: [Function],
|
|||
|
IPv4NumToStr: [Function],
|
|||
|
ResolveName: [Function],
|
|||
|
performScan: [Function],
|
|||
|
performSpecificScan: [Function],
|
|||
|
checkAmtPresence: [Function],
|
|||
|
checkAmtPresenceEx: [Function],
|
|||
|
sendPendingPacket: [Function],
|
|||
|
parseRmcpPacket: [Function],
|
|||
|
changeConnectState: [Function],
|
|||
|
reportMachineState: [Function],
|
|||
|
changeAmtState: [Function],
|
|||
|
compareAmtVersionStr: [Function],
|
|||
|
checkTcpPresence: [Function],
|
|||
|
checkTcpPresenceEx: [Function],
|
|||
|
getIntelAmtVersionFromHeaders: [Function] },
|
|||
|
amtManager: [Circular],
|
|||
|
meshScanner:
|
|||
|
{ parent: [Circular],
|
|||
|
dgram: [Object],
|
|||
|
common: [Object],
|
|||
|
servers4: [Object],
|
|||
|
servers6: [Object],
|
|||
|
mainTimer: [Object],
|
|||
|
agentCertificateHashHex: 'D99362D5ED8BAEA8BF9E743B34B242256370C460FD66CB62373C6CFCB204D6D707403E396CF0EF6DC2B3A42F735135FD',
|
|||
|
error: 0,
|
|||
|
pendingOutboundPackets: [],
|
|||
|
pendingOutboundTimer: null,
|
|||
|
multicastKey: <Buffer 5d 04 fa e2 7c e1 50 a2 36 e0 2c ee 02 a9 23 d8 cc 86 62 5c ff 23 b4 35 6a 5e c8 95 0c 36 f1 cf>,
|
|||
|
start: [Function],
|
|||
|
stop: [Function],
|
|||
|
performScan: [Function],
|
|||
|
wakeOnLan: [Function],
|
|||
|
multicastPacket4: <Buffer 4d 65 73 68 43 65 6e 74 72 61 6c 32 7c 44 39 39 33 36 32 44 35 45 44 38 42 41 45 41 38 42 46 39 45 37 34 33 42 33 34 42 32 34 32 32 35 36 33 37 30 43 ... >,
|
|||
|
multicastPacket4x: <Buffer 4d 65 73 68 43 65 6e 74 72 61 6c 32 7c 44 39 39 33 36 32 44 35 45 44 38 42 41 45 41 38 42 46 39 45 37 34 33 42 33 34 42 32 34 32 32 35 36 33 37 30 43 ... >,
|
|||
|
multicastPacket6: <Buffer 4d 65 73 68 43 65 6e 74 72 61 6c 32 7c 44 39 39 33 36 32 44 35 45 44 38 42 41 45 41 38 42 46 39 45 37 34 33 42 33 34 42 32 34 32 32 35 36 33 37 30 43 ... >,
|
|||
|
multicastPacket6x: <Buffer 4d 65 73 68 43 65 6e 74 72 61 6c 32 7c 44 39 39 33 36 32 44 35 45 44 38 42 41 45 41 38 42 46 39 45 37 34 33 42 33 34 42 32 34 32 32 35 36 33 37 30 43 ... > },
|
|||
|
letsencrypt: null,
|
|||
|
eventsDispatch:
|
|||
|
{ '*': [Object],
|
|||
|
'user//admin': [Object],
|
|||
|
'server-global': [Object],
|
|||
|
'mesh//7b4b43cdad850135f36ab31124b52e47c167fba055ce800267a4dc89fe0e581c': [Object],
|
|||
|
'mesh//Xa@CUKjtgzRPXcesXj81l91hFBxlu7o8ToDSXSeqvbdtKMyKpKQbOhBwj5z05TLX': [Object],
|
|||
|
'mesh//sjN2rO85LGJCEXxW50TUI1vOCr@9zVpE4A@9jrAcPjA7n531RHZVMGpksK1yWY4O': [Object],
|
|||
|
'mesh//L9IeoqmIQ2OCrXTwt8ZdSLGspsFFAefxE8hcJmdlCiCVETKYDJuARvVewc7oYLXp': [Object],
|
|||
|
'mesh//1QzgjuweFmNiXaGeyqoWIiq0L5sziVb6rYy9SXPZAeGOOSEUHtUk4m1bjViqpeOL': [Object],
|
|||
|
'mesh//QGAj4HwbBlZNke6TJ8ll$$CT8yUMfZAhBmbuAcelswaF9FZ0uqn1BFfscLnvk5BK': [Object] },
|
|||
|
fs:
|
|||
|
{ Stats: [Function],
|
|||
|
F_OK: 0,
|
|||
|
R_OK: 4,
|
|||
|
W_OK: 2,
|
|||
|
X_OK: 1,
|
|||
|
access: [Function],
|
|||
|
accessSync: [Function],
|
|||
|
exists: [Function],
|
|||
|
existsSync: [Function],
|
|||
|
readFile: [Function],
|
|||
|
readFileSync: [Function],
|
|||
|
close: [Function: close],
|
|||
|
closeSync: [Function: closeSync],
|
|||
|
open: [Function],
|
|||
|
openSync: [Function],
|
|||
|
read: [Function],
|
|||
|
readSync: [Function],
|
|||
|
write: [Function],
|
|||
|
writeSync: [Function],
|
|||
|
rename: [Function],
|
|||
|
renameSync: [Function],
|
|||
|
truncate: [Function],
|
|||
|
truncateSync: [Function],
|
|||
|
ftruncate: [Function],
|
|||
|
ftruncateSync: [Function],
|
|||
|
rmdir: [Function],
|
|||
|
rmdirSync: [Function],
|
|||
|
fdatasync: [Function],
|
|||
|
fdatasyncSync: [Function],
|
|||
|
fsync: [Function],
|
|||
|
fsyncSync: [Function],
|
|||
|
mkdir: [Function],
|
|||
|
mkdirSync: [Function],
|
|||
|
readdir: [Function],
|
|||
|
readdirSync: [Function],
|
|||
|
fstat: [Function],
|
|||
|
lstat: [Function],
|
|||
|
stat: [Function],
|
|||
|
fstatSync: [Function],
|
|||
|
lstatSync: [Function],
|
|||
|
statSync: [Function],
|
|||
|
readlink: [Function],
|
|||
|
readlinkSync: [Function],
|
|||
|
symlink: [Function],
|
|||
|
symlinkSync: [Function],
|
|||
|
link: [Function],
|
|||
|
linkSync: [Function],
|
|||
|
unlink: [Function],
|
|||
|
unlinkSync: [Function],
|
|||
|
fchmod: [Function],
|
|||
|
fchmodSync: [Function],
|
|||
|
chmod: [Function],
|
|||
|
chmodSync: [Function],
|
|||
|
fchown: [Function],
|
|||
|
fchownSync: [Function],
|
|||
|
chown: [Function],
|
|||
|
chownSync: [Function],
|
|||
|
_toUnixTimestamp: [Function: toUnixTimestamp],
|
|||
|
utimes: [Function],
|
|||
|
utimesSync: [Function],
|
|||
|
futimes: [Function],
|
|||
|
futimesSync: [Function],
|
|||
|
writeFile: [Function],
|
|||
|
writeFileSync: [Function],
|
|||
|
appendFile: [Function],
|
|||
|
appendFileSync: [Function],
|
|||
|
watch: [Function],
|
|||
|
watchFile: [Function],
|
|||
|
unwatchFile: [Function],
|
|||
|
realpathSync: [Function: realpathSync],
|
|||
|
realpath: [Function: realpath],
|
|||
|
createReadStream: [Function],
|
|||
|
ReadStream: [Object],
|
|||
|
FileReadStream: [Object],
|
|||
|
createWriteStream: [Function],
|
|||
|
WriteStream: [Object],
|
|||
|
FileWriteStream: [Object],
|
|||
|
mkdtemp: [Function],
|
|||
|
mkdtempSync: [Function] },
|
|||
|
path:
|
|||
|
{ resolve: [Function: resolve],
|
|||
|
normalize: [Function: normalize],
|
|||
|
isAbsolute: [Function: isAbsolute],
|
|||
|
join: [Function: join],
|
|||
|
relative: [Function: relative],
|
|||
|
_makeLong: [Function: _makeLong],
|
|||
|
dirname: [Function: dirname],
|
|||
|
basename: [Function: basename],
|
|||
|
extname: [Function: extname],
|
|||
|
format: [Function: format],
|
|||
|
parse: [Function: parse],
|
|||
|
sep: '\\',
|
|||
|
delimiter: ';',
|
|||
|
win32: [Circular],
|
|||
|
posix: [Object] },
|
|||
|
crypto:
|
|||
|
{ DEFAULT_ENCODING: 'buffer',
|
|||
|
_toBuf: [Function: toBuf],
|
|||
|
Hash: [Object],
|
|||
|
createHash: [Object],
|
|||
|
Hmac: [Object],
|
|||
|
createHmac: [Object],
|
|||
|
Cipher: [Object],
|
|||
|
createCipher: [Object],
|
|||
|
Cipheriv: [Object],
|
|||
|
createCipheriv: [Object],
|
|||
|
Decipher: [Object],
|
|||
|
createDecipher: [Object],
|
|||
|
Decipheriv: [Object],
|
|||
|
createDecipheriv: [Object],
|
|||
|
Sign: [Object],
|
|||
|
createSign: [Object],
|
|||
|
Verify: [Object],
|
|||
|
createVerify: [Object],
|
|||
|
publicEncrypt: [Function],
|
|||
|
publicDecrypt: [Function],
|
|||
|
privateEncrypt: [Function],
|
|||
|
privateDecrypt: [Function],
|
|||
|
DiffieHellman: [Function: DiffieHellman],
|
|||
|
createDiffieHellman: [Function: DiffieHellman],
|
|||
|
getDiffieHellman: [Function: DiffieHellmanGroup],
|
|||
|
createDiffieHellmanGroup: [Function: DiffieHellmanGroup],
|
|||
|
DiffieHellmanGroup: [Function: DiffieHellmanGroup],
|
|||
|
createECDH: [Function: createECDH],
|
|||
|
pbkdf2: [Function],
|
|||
|
pbkdf2Sync: [Function],
|
|||
|
Certificate: [Function: Certificate],
|
|||
|
setEngine: [Function: setEngine],
|
|||
|
pseudoRandomBytes: [Function: randomBytes],
|
|||
|
randomBytes: [Function: randomBytes],
|
|||
|
prng: [Function: randomBytes],
|
|||
|
rng: [Function: randomBytes],
|
|||
|
getCiphers: [Function],
|
|||
|
getHashes: [Function],
|
|||
|
getCurves: [Function],
|
|||
|
createCredentials: [Getter],
|
|||
|
Credentials: [Getter] },
|
|||
|
exeHandler:
|
|||
|
{ streamExeWithJavaScript: [Function],
|
|||
|
streamExeWithMeshPolicy: [Function],
|
|||
|
parseWindowsExecutable: [Function],
|
|||
|
hashExecutableFile: [Function] },
|
|||
|
platform: 'win32',
|
|||
|
args:
|
|||
|
{ _: [],
|
|||
|
user: 'admin',
|
|||
|
launch: 11360,
|
|||
|
_heapdump: true,
|
|||
|
_log: 'main,web,webrequest,cert',
|
|||
|
_ignoreagenthashcheck: [Object],
|
|||
|
_authlog: 'c:\\temp\\auth.log',
|
|||
|
_syslog: 'meshcentral',
|
|||
|
_syslogauth: 'meshcentral-auth',
|
|||
|
_syslogjson: 'meshcentral-json',
|
|||
|
_lanonly: true,
|
|||
|
_wanonly: true,
|
|||
|
_maintenancemode: true,
|
|||
|
cert: 'central.mesh.meshcentral.com',
|
|||
|
mongodb: 'mongodb://127.0.0.1:27017?replicaSet=rs0',
|
|||
|
_mongodbname: 'meshcentral',
|
|||
|
_mongodbchangestream: true,
|
|||
|
mongodbbulkoperations: true,
|
|||
|
publicpushnotifications: true,
|
|||
|
_filespath: 'c:\\Servnet_Files',
|
|||
|
_dbexpire: [Object],
|
|||
|
dbrecordsencryptkey: 'MyReallySecretPassword',
|
|||
|
_dbencryptkey: 'MyReallySecretPassword',
|
|||
|
_port: 444,
|
|||
|
_portbind: '127.0.0.1',
|
|||
|
_aliasport: 443,
|
|||
|
_redirport: 800,
|
|||
|
_redirportbind: '127.0.0.1',
|
|||
|
_rediraliasport: 80,
|
|||
|
_agentport: 443,
|
|||
|
_agentaliasport: 889,
|
|||
|
_agentaliasdns: 'agents.mesh.meshcentral.com',
|
|||
|
_agentporttls: true,
|
|||
|
agentlogdump: true,
|
|||
|
agentcoredump: true,
|
|||
|
agentcoredumpusers: [Object],
|
|||
|
compression: true,
|
|||
|
wscompression: true,
|
|||
|
agentwscompression: true,
|
|||
|
_agentsinram: true,
|
|||
|
_cookieipcheck: false,
|
|||
|
_cookieencoding: 'hex',
|
|||
|
swarmport: 0,
|
|||
|
_mesherrorlogpath: 'c:\\tmp',
|
|||
|
_noagentupdate: 1,
|
|||
|
_no2factorauth: true,
|
|||
|
browserping: 5,
|
|||
|
_browserpong: 5,
|
|||
|
_agentsondisk: true,
|
|||
|
_agentidletimeout: 150,
|
|||
|
agentping: 5,
|
|||
|
_agentpong: 5,
|
|||
|
_mqtt: [Object],
|
|||
|
_trustedproxy: 'CloudFlare',
|
|||
|
__trustedproxy: [Object],
|
|||
|
___trustedproxy: 'central.mesh.meshcentral.com',
|
|||
|
_tlsoffload: '127.0.0.1',
|
|||
|
__tlsoffload: '192.168.2.164',
|
|||
|
_mpsport: 44330,
|
|||
|
_mpsportbind: '127.0.0.1',
|
|||
|
_mpsaliasport: 4433,
|
|||
|
_mpsaliashost: 'mps.mydomain.com',
|
|||
|
_mpstlsoffload: true,
|
|||
|
desktopmultiplex: true,
|
|||
|
_minifycore: false,
|
|||
|
_nice404: false,
|
|||
|
_sessiontime: 2,
|
|||
|
_configkey: 'MyReallySecretPassword',
|
|||
|
sessionkey: 'MyReallySecretPassword',
|
|||
|
_logincookieencryptionkey: 'aaaaaa',
|
|||
|
sessionsamesite: 'strict',
|
|||
|
_selfupdate: '0.3.1-a',
|
|||
|
_allowlogintoken: true,
|
|||
|
allowframing: true,
|
|||
|
_allowhighqualitydesktop: false,
|
|||
|
webpush: [Object],
|
|||
|
_httpsstrict: true,
|
|||
|
_amtprovisioningserver: [Object],
|
|||
|
watchdog: [Object],
|
|||
|
_managealldevicegroups: [Object],
|
|||
|
managecrossdomain: [Object],
|
|||
|
webrtc: true,
|
|||
|
_npmtag: 'test',
|
|||
|
_npmpath: '',
|
|||
|
_npmproxy: 'http://192.168.2.10:91',
|
|||
|
userallowedip: [Object],
|
|||
|
_userblockedip: [Object],
|
|||
|
_swarmallowedip: [Object],
|
|||
|
_agentallowedip: [Object],
|
|||
|
__agentallowedip: [Object],
|
|||
|
localdiscovery: [Object],
|
|||
|
_webrtconfig: [Object],
|
|||
|
autobackup: [Object],
|
|||
|
__maxinvalidlogin: false,
|
|||
|
_maxinvalidlogin: [Object],
|
|||
|
npmpath: '"C:\\Program Files\\nodejs\\npm"',
|
|||
|
port: 443,
|
|||
|
mpsport: 4433,
|
|||
|
redirport: 80,
|
|||
|
agentidletimeout: 150000,
|
|||
|
webrtconfig: [Object] },
|
|||
|
common:
|
|||
|
{ ReadShort: [Function],
|
|||
|
ReadShortX: [Function],
|
|||
|
ReadInt: [Function],
|
|||
|
ReadIntX: [Function],
|
|||
|
ShortToStr: [Function],
|
|||
|
ShortToStrX: [Function],
|
|||
|
IntToStr: [Function],
|
|||
|
IntToStrX: [Function],
|
|||
|
MakeToArray: [Function],
|
|||
|
SplitArray: [Function],
|
|||
|
Clone: [Function],
|
|||
|
IsFilenameValid: [Function: isFilenameValid],
|
|||
|
makeFilename: [Function],
|
|||
|
ArrayElementMove: [Function],
|
|||
|
format: [Function],
|
|||
|
ObjectToStringEx: [Function],
|
|||
|
ObjectToStringEx2: [Function],
|
|||
|
gap: [Function],
|
|||
|
gap2: [Function],
|
|||
|
ObjectToString: [Function],
|
|||
|
ObjectToString2: [Function],
|
|||
|
hex2rstr: [Function],
|
|||
|
char2hex: [Function],
|
|||
|
rstr2hex: [Function],
|
|||
|
encode_utf8: [Function],
|
|||
|
decode_utf8: [Function],
|
|||
|
data2blob: [Function],
|
|||
|
random: [Function],
|
|||
|
quoteSplit: [Function],
|
|||
|
parseNameValueList: [Function],
|
|||
|
ComputeDigesthash: [Function],
|
|||
|
toNumber: [Function],
|
|||
|
escapeHtml: [Function],
|
|||
|
escapeHtmlBreaks: [Function],
|
|||
|
zeroPad: [Function],
|
|||
|
objKeysToLower: [Function],
|
|||
|
escapeFieldName: [Function],
|
|||
|
unEscapeFieldName: [Function],
|
|||
|
escapeLinksFieldNameEx: [Function],
|
|||
|
escapeLinksFieldName: [Function],
|
|||
|
unEscapeLinksFieldName: [Function],
|
|||
|
unEscapeAllLinksFieldName: [Function],
|
|||
|
validateString: [Function],
|
|||
|
validateInt: [Function],
|
|||
|
validateArray: [Function],
|
|||
|
validateStrArray: [Function],
|
|||
|
validateObject: [Function],
|
|||
|
validateEmail: [Function],
|
|||
|
validateUsername: [Function],
|
|||
|
isAlphaNumeric: [Function],
|
|||
|
validateAlphaNumericArray: [Function],
|
|||
|
checkPasswordRequirements: [Function],
|
|||
|
createTaskLimiterQueue: [Function],
|
|||
|
translationsToJson: [Function],
|
|||
|
copyFile: [Function],
|
|||
|
meshServerRightsArrayToNumber: [Function],
|
|||
|
sortObj: [Function],
|
|||
|
validateObjectForMongo: [Function] },
|
|||
|
configurationFiles: null,
|
|||
|
certificates:
|
|||
|
{ root: [Object],
|
|||
|
webdefault: [Object],
|
|||
|
web: [Object],
|
|||
|
mps: [Object],
|
|||
|
agent: [Object],
|
|||
|
swarmserver: [Object],
|
|||
|
swarmserverroot: [Object],
|
|||
|
AmtMpsName: 'central.mesh.meshcentral.com',
|
|||
|
WebIssuer: 'MeshCentralRoot-071233',
|
|||
|
CommonName: 'central.mesh.meshcentral.com',
|
|||
|
CommonNames: [Object],
|
|||
|
RootName: 'MeshCentralRoot-071233',
|
|||
|
dns: {} },
|
|||
|
connectivityByNode:
|
|||
|
{ 'node//2CVYFrHQmq6q9a6Lyh0I62q0z4RxX@84zd5WV6YE2KeUaLGtB3lhF@ODKkeIne0h': [Object],
|
|||
|
'node//4QBHyPR0ZkKMnnKZaac7N24IDutPXdc1Sh3$2AM5vebsxjuLbsr$TSdtYRJ6cs0p': [Object],
|
|||
|
'node//8VDrC2pSedqIgAUaMRDyZ1t1H320RvdE36C9mHdHjIB9ar4UvavoMILwfHg3tr$E': [Object],
|
|||
|
'node//oR6CRpgM0YRNQHs$WmBvpmgdZBAASGP8diZncJbF$y4jHrpd6BdWo2kDc3TDWsUd': [Object],
|
|||
|
'node//QOeuqHxFoICOHh3nyPmu2taW4otYs3YpkqREEUX08$73Iq@rSBGYtrJOT4gzUWmt': [Object],
|
|||
|
'node//yGBxJcIzRoFQJ2SuKVqnbAA2GrdxI0KYWj$sCFENHNrfwK0bHtQy1YaGkP5YbFcm': [Object],
|
|||
|
'node//xNzeDZR4d$qeWCTybNudPWnFzX9e8eXlgvm2paRgi@m6WO21F@LE4aCSNqX4Px2m': [Object],
|
|||
|
'node//m7YjMjg2a7A3NIcDdMX$nQNl3gbaBT6VU3XBye4Fvk0uzWUO7CKzkWUnbJuWimP5': [Object],
|
|||
|
'node//U5ffW1D6GeKWjcg@gj5tp$oDgaC5f1HkyyK7ShfM8LyxRiPObcmiOVsOs8rbM7OQ': [Object],
|
|||
|
'node//lUlo61H$cZ@@8z@dl3ihVTXc8rD9k0vbiiTWsWY7T$Eal$pNYyEiFi4JDohISFaV': [Object],
|
|||
|
'node//aY7sM0YjS@1t2$UwaRgKx2x4oQCJp@fVhG5sbcaZUMNS2J$dDV9Jf5irRIAHs7J6': [Object],
|
|||
|
'node//Uqr1kHG7hV22kjOGQULZaoCde93GcAIk6fnwsYZyXAx8hjJlwbubn@$M$FxLPxPh': [Object],
|
|||
|
'node//E@9IJ2YQ9N8SlCDZuep00jM7NxXfY3ltOzcZ7KzO7mB8grU@pVOw$ZI34$FcNf5n': [Object],
|
|||
|
'node//0fWSjlEGZ97uji3c1GHLaKyLHiRfgyG67v39z200$qf2IuwdyEz@Z4uoX@YreTqD': [Object],
|
|||
|
'node//HLZYZn3@8Jv1zURGCpFE41QtGqY6w2mW1wiitB1tRMjFFfq@HgpSfjm8wsO9PsAo': [Object],
|
|||
|
'node//csNXAKlgnhyCa8RmZmS7urv4I5e2RKUUVPIyympuYgRTM46KbiicUa@CBDHKcWA1': [Object],
|
|||
|
'node//4pIUaMC$T7tfPcozYgtDF2$AkxGfS16TA6$K8an0saNkhpwS$OSw6iICT2IUcMVt': [Object] },
|
|||
|
peerConnectivityByNode: {},
|
|||
|
debugSources: [],
|
|||
|
debugRemoteSources: null,
|
|||
|
config:
|
|||
|
{ '$schema': 'http://info.meshcentral.com/downloads/meshcentral-config-schema.json',
|
|||
|
settings: [Object],
|
|||
|
_configfiles: [Object],
|
|||
|
_domaindefaults: [Object],
|
|||
|
domains: [Object],
|
|||
|
_letsencrypt: [Object],
|
|||
|
_peers: [Object],
|
|||
|
__smtp: [Object],
|
|||
|
_smtp: [Object],
|
|||
|
___smtp: [Object],
|
|||
|
_sendgrid: [Object],
|
|||
|
____smtp: [Object],
|
|||
|
_sms: [Object],
|
|||
|
__sms: [Object],
|
|||
|
___sms: [Object],
|
|||
|
_firebase: [Object],
|
|||
|
_firebaserelay: [Object] },
|
|||
|
dbconfig:
|
|||
|
{ _id: 'dbconfig',
|
|||
|
version: 1,
|
|||
|
amtWsEventSecret: '7e8142c1750a688d719d086a84d99921ce0ea76a5add16574b967e47905ac597' },
|
|||
|
certificateOperations:
|
|||
|
{ parent: [Circular],
|
|||
|
fs: [Object],
|
|||
|
forge: [Object],
|
|||
|
crypto: [Object],
|
|||
|
tls: [Object],
|
|||
|
pki: [Object],
|
|||
|
dirExists: [Function],
|
|||
|
getFilesizeInBytes: [Function],
|
|||
|
getAcmCertChain: [Function],
|
|||
|
signAcmRequest: [Function],
|
|||
|
logAmtActivation: [Function],
|
|||
|
loadIntelAmtAcmCerts: [Function],
|
|||
|
loadGenericCertAndKey: [Function],
|
|||
|
GetSetupBinFile: [Function],
|
|||
|
GetBareMetalSetupBinFile: [Function],
|
|||
|
loadPfxCertificate: [Function],
|
|||
|
loadTextFile: [Function],
|
|||
|
loadCertificate: [Function],
|
|||
|
fileExists: [Function],
|
|||
|
fileLoad: [Function],
|
|||
|
getPublicKeyHash: [Function],
|
|||
|
getCertHashSha1: [Function],
|
|||
|
getCertHashSha256: [Function],
|
|||
|
getCertHash: [Function],
|
|||
|
getPublicKeyHashBinary: [Function],
|
|||
|
getCertHashBinary: [Function],
|
|||
|
GenerateRootCertificate: [Function],
|
|||
|
IssueWebServerCertificate: [Function],
|
|||
|
compareCertificateNames: [Function],
|
|||
|
checkCertificate: [Function],
|
|||
|
GetMeshServerCertificate: [Function],
|
|||
|
acceleratorCertStore: [Object],
|
|||
|
getAcceleratorStats: [Function],
|
|||
|
getAccelerator: [Function],
|
|||
|
acceleratorStart: [Function],
|
|||
|
acceleratorPerformSignature: [Function],
|
|||
|
acceleratorPerformOperation: [Function] },
|
|||
|
defaultMeshCmd: 'var addedModules = [];\r\ntry { addModule("amt-apfclient", "function CreateAPFClient(q,e){if((e.clientuuid==null)||(e.clientuuid.length!=36)){return null}var o={};o.parent=q;o.args=e;o.http=require(\\"http\\");o.net=require(\\"net\\");o.forwardClient=null;o.downlinks={};o.pfwd_idx=0;o.timer=null;function u(L,K){return(L.charCodeAt(K)*16777216)+(L.charCodeAt(K+1)<<16)+(L.charCodeAt(K+2)<<8)+L.charCodeAt(K+3)}function n(K){return String.fromCharCode((K>>24)&255,(K>>16)&255,(K>>8)&255,K&255)}function m(K){var M=\\"\\",L=(\\"\\"+K).match(/../g),N;while(N=L.shift()){M+=String.fromCharCode(\\"0x\\"+N)}return M}function h(K){return(K+256).toString(16).substr(-2).toUpperCase()}function w(L){var M=\\"\\",K;for(K=0;K<L.length;K++){M+=h(L.charCodeAt(K))}return M}function j(K){return(K/256+1/512).toString(16).substring(2,4)}function g(L){var M=\\"\\",K;for(K=0;K<L.length;K++){M+=j(L[K])}return M}function k(K){if(o.parent.debug){console.log(K)}}function l(K){return K.substring(6,8)+K.substring(4,6)+K.substring(2,4)+K.substring(0,2)+\\"-\\"+K.substring(10,12)+K.substring(8,10)+\\"-\\"+K.substring(14,16)+K.substring(12,14)+\\"-\\"+K.substring(16,20)+\\"-\\"+K.substring(20)}function J(L){L=L.replace(/-/g,\\"\\");var K=L.substring(6,8)+L.substring(4,6)+L.substring(2,4)+L.substring(0,2)+L.substring(10,12)+L.substring(8,10)+L.substring(14,16)+L.substring(12,14)+L.substring(16,20)+L.substring(20);return K}function f(L){var M=\\"\\";for(var K=0;K<L;K++){M+=String.fromCharCode(0&255)}return M}var i={INITIAL:0,PROTOCOL_VERSION_SENT:1,AUTH_SERVICE_REQUEST_SENT:2,AUTH_REQUEST_SENT:3,PFWD_SERVICE_REQUEST_SENT:4,GLOBAL_REQUEST_SENT:5,FAILED:-1};o.cirastate=i.INITIAL;var v={REDIR_UNKNOWN:0,REDIR_SOL:1,REDIR_KVM:2,REDIR_IDER:3};o.RedirectStartSol=String.fromCharCode(16,0,0,0,83,79,76,32);o.RedirectStartKvm=String.fromCharCode(16,1,0,0,75,86,77,82);o.RedirectStartIder=String.fromCharCode(16,0,0,0,73,68,69,82);var s=[16992,16993];var d={UNKNOWN:0,DISCONNECT:1,SERVICE_REQUEST:5,SERVICE_ACCEPT:6,USERAUTH_REQUEST:50,USERAUTH_FAILURE:51,USERAUTH_SUCCESS:52,GLOBAL_REQUEST:80,REQUEST_SUCCESS:81,REQUEST_FAILURE:82,CHANNEL_OPEN:90,CHANNEL_OPEN_CONFIRMATION:91,CHANNEL_OPEN_FAILURE:92,CHANNEL_WINDOW_ADJUST:93,CHANNEL_DATA:94,CHANNEL_CLOSE:97,PROTOCOLVERSION:192,KEEPALIVE_REQUEST:208,KEEPALIVE_REPLY:209,KEEPALIVE_OPTIONS_REQUEST:210,KEEPALIVE_OPTIONS_REPLY:211,JSON_CONTROL:250};var c={HOST_NOT_ALLOWED_TO_CONNECT:1,PROTOCOL_ERROR:2,KEY_EXCHANGE_FAILED:3,RESERVED:4,MAC_ERROR:5,COMPRESSION_ERROR:6,SERVICE_NOT_AVAILABLE:7,PROTOCOL_VERSION_NOT_SUPPORTED:8,HOST_KEY_NOT_VERIFIABLE:9,CONNECTION_LOST:10,BY_APPLICATION:11,TOO_MANY_CONNECTIONS:12,AUTH_CANCELLED_BY_USER:13,NO_MORE_AUTH_METHODS_AVAILABLE:14,INVALID_CREDENTIALS:15,CONNECTION_TIMED_OUT:16,BY_POLICY:17,TEMPORARILY_UNAVAILABLE:18};var a={ADMINISTRATIVELY_PROHIBITED:1,CONNECT_FAILED:2,UNKNOWN_CHANNEL_TYPE:3,RESOURCE_SHORTAGE:4,};var b={AdministrativelyProhibited:1,ConnectFailed:2,UnknownChannelType:3,ResourceShortage:4,};o.onSecureConnect=function p(L,M,K){k(\\"APF Secure WebSocket connected.\\");o.forwardClient.tag={accumulator:[]};o.forwardClient.ws=M;o.forwardClient.ws.on(\\"end\\",function(){k(\\"APF: Connection is closing.\\");if(o.timer!=null){clearInterval(o.timer);o.timer=null}if(o.onChannelClosed){o.onChannelClosed(o)}});o.forwardClient.ws.on(\\"data\\",function(N){o.forwardClient.tag.accumulator+=m(g(N));try{var P=0;do{P=t(o.forwardClient);if(P>0){o.forwardClient.tag.accumulator=o.forwardClient.tag.accumulator.slice(P)}if(o.cirastate==i.FAILED){k(\\"APF: in a failed state, destroying socket.\\");o.forwardClient.ws.end()}}while(P>0)}catch(O){k(O)}});o.forwardClient.ws.on(\\"error\\",function(N){k(\\"APF: Connection error, ending connecting.\\");if(o.timer!=null){clearInterval(o.timer);o.timer=null}});o.state=i.INITIAL;if((typeof o.args.conntype==\\"number\\")&&(o.args.conntype!=0)){D(o.forwardClient.ws,{action:\\"connType\\",value:o.args.conntype});if(o.args.meiState!=null){D(o.forwardClient.ws,{action:\\"meiState\\",value:o.args.meiState})}}G(o.forwardClient.ws,o.args.clientuuid);
|
|||
|
defaultMeshCores:
|
|||
|
{ 'windows-amt': '\u0000\u0000\u0000\u0000var addedModules = [];\r\ntry { addModule("amt-apfclient", "function CreateAPFClient(q,e){if((e.clientuuid==null)||(e.clientuuid.length!=36)){return null}var o={};o.parent=q;o.args=e;o.http=require(\\"http\\");o.net=require(\\"net\\");o.forwardClient=null;o.downlinks={};o.pfwd_idx=0;o.timer=null;function u(L,K){return(L.charCodeAt(K)*16777216)+(L.charCodeAt(K+1)<<16)+(L.charCodeAt(K+2)<<8)+L.charCodeAt(K+3)}function n(K){return String.fromCharCode((K>>24)&255,(K>>16)&255,(K>>8)&255,K&255)}function m(K){var M=\\"\\",L=(\\"\\"+K).match(/../g),N;while(N=L.shift()){M+=String.fromCharCode(\\"0x\\"+N)}return M}function h(K){return(K+256).toString(16).substr(-2).toUpperCase()}function w(L){var M=\\"\\",K;for(K=0;K<L.length;K++){M+=h(L.charCodeAt(K))}return M}function j(K){return(K/256+1/512).toString(16).substring(2,4)}function g(L){var M=\\"\\",K;for(K=0;K<L.length;K++){M+=j(L[K])}return M}function k(K){if(o.parent.debug){console.log(K)}}function l(K){return K.substring(6,8)+K.substring(4,6)+K.substring(2,4)+K.substring(0,2)+\\"-\\"+K.substring(10,12)+K.substring(8,10)+\\"-\\"+K.substring(14,16)+K.substring(12,14)+\\"-\\"+K.substring(16,20)+\\"-\\"+K.substring(20)}function J(L){L=L.replace(/-/g,\\"\\");var K=L.substring(6,8)+L.substring(4,6)+L.substring(2,4)+L.substring(0,2)+L.substring(10,12)+L.substring(8,10)+L.substring(14,16)+L.substring(12,14)+L.substring(16,20)+L.substring(20);return K}function f(L){var M=\\"\\";for(var K=0;K<L;K++){M+=String.fromCharCode(0&255)}return M}var i={INITIAL:0,PROTOCOL_VERSION_SENT:1,AUTH_SERVICE_REQUEST_SENT:2,AUTH_REQUEST_SENT:3,PFWD_SERVICE_REQUEST_SENT:4,GLOBAL_REQUEST_SENT:5,FAILED:-1};o.cirastate=i.INITIAL;var v={REDIR_UNKNOWN:0,REDIR_SOL:1,REDIR_KVM:2,REDIR_IDER:3};o.RedirectStartSol=String.fromCharCode(16,0,0,0,83,79,76,32);o.RedirectStartKvm=String.fromCharCode(16,1,0,0,75,86,77,82);o.RedirectStartIder=String.fromCharCode(16,0,0,0,73,68,69,82);var s=[16992,16993];var d={UNKNOWN:0,DISCONNECT:1,SERVICE_REQUEST:5,SERVICE_ACCEPT:6,USERAUTH_REQUEST:50,USERAUTH_FAILURE:51,USERAUTH_SUCCESS:52,GLOBAL_REQUEST:80,REQUEST_SUCCESS:81,REQUEST_FAILURE:82,CHANNEL_OPEN:90,CHANNEL_OPEN_CONFIRMATION:91,CHANNEL_OPEN_FAILURE:92,CHANNEL_WINDOW_ADJUST:93,CHANNEL_DATA:94,CHANNEL_CLOSE:97,PROTOCOLVERSION:192,KEEPALIVE_REQUEST:208,KEEPALIVE_REPLY:209,KEEPALIVE_OPTIONS_REQUEST:210,KEEPALIVE_OPTIONS_REPLY:211,JSON_CONTROL:250};var c={HOST_NOT_ALLOWED_TO_CONNECT:1,PROTOCOL_ERROR:2,KEY_EXCHANGE_FAILED:3,RESERVED:4,MAC_ERROR:5,COMPRESSION_ERROR:6,SERVICE_NOT_AVAILABLE:7,PROTOCOL_VERSION_NOT_SUPPORTED:8,HOST_KEY_NOT_VERIFIABLE:9,CONNECTION_LOST:10,BY_APPLICATION:11,TOO_MANY_CONNECTIONS:12,AUTH_CANCELLED_BY_USER:13,NO_MORE_AUTH_METHODS_AVAILABLE:14,INVALID_CREDENTIALS:15,CONNECTION_TIMED_OUT:16,BY_POLICY:17,TEMPORARILY_UNAVAILABLE:18};var a={ADMINISTRATIVELY_PROHIBITED:1,CONNECT_FAILED:2,UNKNOWN_CHANNEL_TYPE:3,RESOURCE_SHORTAGE:4,};var b={AdministrativelyProhibited:1,ConnectFailed:2,UnknownChannelType:3,ResourceShortage:4,};o.onSecureConnect=function p(L,M,K){k(\\"APF Secure WebSocket connected.\\");o.forwardClient.tag={accumulator:[]};o.forwardClient.ws=M;o.forwardClient.ws.on(\\"end\\",function(){k(\\"APF: Connection is closing.\\");if(o.timer!=null){clearInterval(o.timer);o.timer=null}if(o.onChannelClosed){o.onChannelClosed(o)}});o.forwardClient.ws.on(\\"data\\",function(N){o.forwardClient.tag.accumulator+=m(g(N));try{var P=0;do{P=t(o.forwardClient);if(P>0){o.forwardClient.tag.accumulator=o.forwardClient.tag.accumulator.slice(P)}if(o.cirastate==i.FAILED){k(\\"APF: in a failed state, destroying socket.\\");o.forwardClient.ws.end()}}while(P>0)}catch(O){k(O)}});o.forwardClient.ws.on(\\"error\\",function(N){k(\\"APF: Connection error, ending connecting.\\");if(o.timer!=null){clearInterval(o.timer);o.timer=null}});o.state=i.INITIAL;if((typeof o.args.conntype==\\"number\\")&&(o.args.conntype!=0)){D(o.forwardClient.ws,{action:\\"connType\\",value:o.args.conntype});if(o.args.meiState!=null){D(o.forwardClient.ws,{action:\\"meiState\\",value:o.args.meiState})}}G(o.forwardCli
|
|||
|
'linux-amt': '\u0000\u0000\u0000\u0000var addedModules = [];\r\ntry { addModule("amt-apfclient", "function CreateAPFClient(q,e){if((e.clientuuid==null)||(e.clientuuid.length!=36)){return null}var o={};o.parent=q;o.args=e;o.http=require(\\"http\\");o.net=require(\\"net\\");o.forwardClient=null;o.downlinks={};o.pfwd_idx=0;o.timer=null;function u(L,K){return(L.charCodeAt(K)*16777216)+(L.charCodeAt(K+1)<<16)+(L.charCodeAt(K+2)<<8)+L.charCodeAt(K+3)}function n(K){return String.fromCharCode((K>>24)&255,(K>>16)&255,(K>>8)&255,K&255)}function m(K){var M=\\"\\",L=(\\"\\"+K).match(/../g),N;while(N=L.shift()){M+=String.fromCharCode(\\"0x\\"+N)}return M}function h(K){return(K+256).toString(16).substr(-2).toUpperCase()}function w(L){var M=\\"\\",K;for(K=0;K<L.length;K++){M+=h(L.charCodeAt(K))}return M}function j(K){return(K/256+1/512).toString(16).substring(2,4)}function g(L){var M=\\"\\",K;for(K=0;K<L.length;K++){M+=j(L[K])}return M}function k(K){if(o.parent.debug){console.log(K)}}function l(K){return K.substring(6,8)+K.substring(4,6)+K.substring(2,4)+K.substring(0,2)+\\"-\\"+K.substring(10,12)+K.substring(8,10)+\\"-\\"+K.substring(14,16)+K.substring(12,14)+\\"-\\"+K.substring(16,20)+\\"-\\"+K.substring(20)}function J(L){L=L.replace(/-/g,\\"\\");var K=L.substring(6,8)+L.substring(4,6)+L.substring(2,4)+L.substring(0,2)+L.substring(10,12)+L.substring(8,10)+L.substring(14,16)+L.substring(12,14)+L.substring(16,20)+L.substring(20);return K}function f(L){var M=\\"\\";for(var K=0;K<L;K++){M+=String.fromCharCode(0&255)}return M}var i={INITIAL:0,PROTOCOL_VERSION_SENT:1,AUTH_SERVICE_REQUEST_SENT:2,AUTH_REQUEST_SENT:3,PFWD_SERVICE_REQUEST_SENT:4,GLOBAL_REQUEST_SENT:5,FAILED:-1};o.cirastate=i.INITIAL;var v={REDIR_UNKNOWN:0,REDIR_SOL:1,REDIR_KVM:2,REDIR_IDER:3};o.RedirectStartSol=String.fromCharCode(16,0,0,0,83,79,76,32);o.RedirectStartKvm=String.fromCharCode(16,1,0,0,75,86,77,82);o.RedirectStartIder=String.fromCharCode(16,0,0,0,73,68,69,82);var s=[16992,16993];var d={UNKNOWN:0,DISCONNECT:1,SERVICE_REQUEST:5,SERVICE_ACCEPT:6,USERAUTH_REQUEST:50,USERAUTH_FAILURE:51,USERAUTH_SUCCESS:52,GLOBAL_REQUEST:80,REQUEST_SUCCESS:81,REQUEST_FAILURE:82,CHANNEL_OPEN:90,CHANNEL_OPEN_CONFIRMATION:91,CHANNEL_OPEN_FAILURE:92,CHANNEL_WINDOW_ADJUST:93,CHANNEL_DATA:94,CHANNEL_CLOSE:97,PROTOCOLVERSION:192,KEEPALIVE_REQUEST:208,KEEPALIVE_REPLY:209,KEEPALIVE_OPTIONS_REQUEST:210,KEEPALIVE_OPTIONS_REPLY:211,JSON_CONTROL:250};var c={HOST_NOT_ALLOWED_TO_CONNECT:1,PROTOCOL_ERROR:2,KEY_EXCHANGE_FAILED:3,RESERVED:4,MAC_ERROR:5,COMPRESSION_ERROR:6,SERVICE_NOT_AVAILABLE:7,PROTOCOL_VERSION_NOT_SUPPORTED:8,HOST_KEY_NOT_VERIFIABLE:9,CONNECTION_LOST:10,BY_APPLICATION:11,TOO_MANY_CONNECTIONS:12,AUTH_CANCELLED_BY_USER:13,NO_MORE_AUTH_METHODS_AVAILABLE:14,INVALID_CREDENTIALS:15,CONNECTION_TIMED_OUT:16,BY_POLICY:17,TEMPORARILY_UNAVAILABLE:18};var a={ADMINISTRATIVELY_PROHIBITED:1,CONNECT_FAILED:2,UNKNOWN_CHANNEL_TYPE:3,RESOURCE_SHORTAGE:4,};var b={AdministrativelyProhibited:1,ConnectFailed:2,UnknownChannelType:3,ResourceShortage:4,};o.onSecureConnect=function p(L,M,K){k(\\"APF Secure WebSocket connected.\\");o.forwardClient.tag={accumulator:[]};o.forwardClient.ws=M;o.forwardClient.ws.on(\\"end\\",function(){k(\\"APF: Connection is closing.\\");if(o.timer!=null){clearInterval(o.timer);o.timer=null}if(o.onChannelClosed){o.onChannelClosed(o)}});o.forwardClient.ws.on(\\"data\\",function(N){o.forwardClient.tag.accumulator+=m(g(N));try{var P=0;do{P=t(o.forwardClient);if(P>0){o.forwardClient.tag.accumulator=o.forwardClient.tag.accumulator.slice(P)}if(o.cirastate==i.FAILED){k(\\"APF: in a failed state, destroying socket.\\");o.forwardClient.ws.end()}}while(P>0)}catch(O){k(O)}});o.forwardClient.ws.on(\\"error\\",function(N){k(\\"APF: Connection error, ending connecting.\\");if(o.timer!=null){clearInterval(o.timer);o.timer=null}});o.state=i.INITIAL;if((typeof o.args.conntype==\\"number\\")&&(o.args.conntype!=0)){D(o.forwardClient.ws,{action:\\"connType\\",value:o.args.conntype});if(o.args.meiState!=null){D(o.forwardClient.ws,{action:\\"meiState\\",value:o.args.meiState})}}G(o.forwardClien
|
|||
|
'linux-noamt': '\u0000\u0000\u0000\u0000var addedModules = [];\r\ntry { addModule("monitor-border", "var red=255;var yellow=65535;var GXxor=6;var GXclear=0;var ExposureMask=(1<<15);function windows_monitorborder(){this._ObjectID=\\"monitor-info\\";var c=require(\\"monitor-info\\");var b=require(\\"_GenericMarshal\\");var g=b.CreateNativeProxy(\\"user32.dll\\");c.monitors=[];g.CreateMethod(\\"GetDC\\");g.CreateMethod(\\"ReleaseDC\\");g.CreateMethod(\\"FillRect\\");g.CreateMethod(\\"InvalidateRect\\");var a=b.CreateNativeProxy(\\"gdi32.dll\\");a.CreateMethod(\\"CreateSolidBrush\\");var d=a.CreateSolidBrush(red);var h=a.CreateSolidBrush(yellow);require(\\"events\\").EventEmitter.call(this);this.on(\\"~\\",function(){this.Stop()});this.Stop=function f(){c.redInterval=null;var j=b.CreateVariable(16);var k=j.toBuffer();for(var l in c.monitors){k.writeInt32LE(c.monitors[l].left,0);k.writeInt32LE(c.monitors[l].top,4);k.writeInt32LE(c.monitors[l].left+(c.monitors[l].right-c.monitors[l].left),8);k.writeInt32LE(c.monitors[l].bottom-c.monitors[l].top,12);g.InvalidateRect(0,j,0)}};this.Start=function e(){c.getInfo().then(function(j){var i=b.CreateVariable(16);c.monitors=j;c.dc=g.GetDC(0);c.state=0;c.redInterval=setInterval(function(){c.state=(c.state+1)%8;var k=i.toBuffer();for(var l in c.monitors){k.writeInt32LE(c.monitors[l].left,0);k.writeInt32LE(c.monitors[l].top,4);k.writeInt32LE(c.monitors[l].left+(c.monitors[l].right-c.monitors[l].left)/2,8);k.writeInt32LE(5,12);g.FillRect(c.dc,i,(c.state==0||c.state==4)?h:d);k.writeInt32LE(c.monitors[l].left+(c.monitors[l].right-c.monitors[l].left)/2,0);k.writeInt32LE(c.monitors[l].top,4);k.writeInt32LE(c.monitors[l].right,8);k.writeInt32LE(5,12);g.FillRect(c.dc,i,(c.state==1||c.state==5)?h:d);k.writeInt32LE(c.monitors[l].right-5,0);k.writeInt32LE(c.monitors[l].top,4);k.writeInt32LE(c.monitors[l].right,8);k.writeInt32LE(c.monitors[l].top+(c.monitors[l].bottom-c.monitors[l].top)/2,12);g.FillRect(c.dc,i,(c.state==2||c.state==6)?h:d);k.writeInt32LE(c.monitors[l].right-5,0);k.writeInt32LE(c.monitors[l].top+(c.monitors[l].bottom-c.monitors[l].top)/2,4);k.writeInt32LE(c.monitors[l].right,8);k.writeInt32LE(c.monitors[l].bottom,12);g.FillRect(c.dc,i,(c.state==3||c.state==7)?h:d);k.writeInt32LE(c.monitors[l].left+(c.monitors[l].right-c.monitors[l].left)/2,0);k.writeInt32LE(c.monitors[l].bottom-5,4);k.writeInt32LE(c.monitors[l].right,8);k.writeInt32LE(c.monitors[l].bottom,12);g.FillRect(c.dc,i,(c.state==4||c.state==0)?h:d);k.writeInt32LE(c.monitors[l].left,0);k.writeInt32LE(c.monitors[l].bottom-5,4);k.writeInt32LE(c.monitors[l].left+(c.monitors[l].right-c.monitors[l].left)/2,8);k.writeInt32LE(c.monitors[l].bottom,12);g.FillRect(c.dc,i,(c.state==5||c.state==1)?h:d);k.writeInt32LE(c.monitors[l].left,0);k.writeInt32LE(c.monitors[l].top+(c.monitors[l].bottom-c.monitors[l].top)/2,4);k.writeInt32LE(c.monitors[l].left+5,8);k.writeInt32LE(c.monitors[l].bottom,12);g.FillRect(c.dc,i,(c.state==6||c.state==2)?h:d);k.writeInt32LE(c.monitors[l].left,0);k.writeInt32LE(c.monitors[l].top,4);k.writeInt32LE(c.monitors[l].left+5,8);k.writeInt32LE(c.monitors[l].top+(c.monitors[l].bottom-c.monitors[l].top)/2,12);g.FillRect(c.dc,i,(c.state==7||c.state==3)?h:d)}},450)})}}function linux_monitorborder(){var a=this;this.displays=[];this._ObjectID=\\"monitor-info\\";this._info=require(\\"monitor-info\\");this._isUnity=this._info.isUnity();console.log(\\"isUnity = \\"+this._isUnity);require(\\"events\\").EventEmitter.call(this);this.on(\\"~\\",function(){this.Stop()});this.Stop=function c(){this._timeout=null;if(!this._isUnity){for(var e=0;e<this.displays.length;++e){if(this.displays[e].GC1&&this.displays[e].rootWindow){a._info._X11.XSetFunction(a.displays[e].display,a.displays[e].GC1,GXclear);a._info._X11.XDrawLine(a.displays[e].display,a.displays[e].rootWindow,a.displays[e].GC1,0,0,a.displays[e].right,0);a._info._X11.XDrawLine(a.displays[e].display,a.displays[e].rootWindow,a.displays[e].GC1,a.displays[e].right,0,a.displays[e].right,a.displays[e].bottom);a._info._X11.XDrawLine(a.displays[e].display,a.displays[e].rootWind
|
|||
|
'windows-recovery': '\u0000\u0000\u0000\u0000var addedModules = [];\r\ntry { addModule("win-console", "var TrayIconFlags={NIF_MESSAGE:1,NIF_ICON:2,NIF_TIP:4,NIF_STATE:8,NIF_INFO:16,NIF_GUID:32,NIF_REALTIME:64,NIF_SHOWTIP:128,NIM_ADD:0,NIM_MODIFY:1,NIM_DELETE:2,NIM_SETFOCUS:3,NIM_SETVERSION:4};var NOTIFYICON_VERSION_4=4;var MessageTypes={WM_APP:32768,WM_USER:1024};function WindowsConsole(){if(process.platform==\\"win32\\"){this._ObjectID=\\"win-console\\";this._Marshal=require(\\"_GenericMarshal\\");this._kernel32=this._Marshal.CreateNativeProxy(\\"kernel32.dll\\");this._user32=this._Marshal.CreateNativeProxy(\\"user32.dll\\");this._kernel32.CreateMethod(\\"GetConsoleWindow\\");this._kernel32.CreateMethod(\\"GetCurrentThread\\");this._user32.CreateMethod(\\"ShowWindow\\");this._user32.CreateMethod(\\"LoadImageA\\");this._user32.CreateMethod({method:\\"GetMessageA\\",threadDispatch:1});this._shell32=this._Marshal.CreateNativeProxy(\\"Shell32.dll\\");this._shell32.CreateMethod(\\"Shell_NotifyIconA\\");this._handle=this._kernel32.GetConsoleWindow();this.minimize=function(){this._user32.ShowWindow(this._handle,6)};this.restore=function(){this._user32.ShowWindow(this._handle,9)};this.hide=function(){this._user32.ShowWindow(this._handle,0)};this.show=function(){this._user32.ShowWindow(this._handle,5)};this._loadicon=function(c){var b=this._user32.LoadImageA(0,this._Marshal.CreateVariable(c),1,0,0,16|32768|64);return(b)};this.SetTrayIcon=function a(h){var b=this._Marshal.CreateVariable(this._Marshal.PointerSize==4?508:528);b.toBuffer().writeUInt32LE(b._size,0);var n=TrayIconFlags.NIF_TIP|TrayIconFlags.NIF_MESSAGE;h.filter=MessageTypes.WM_APP+1;b.Deref(this._Marshal.PointerSize==4?16:24,4).toBuffer().writeUInt32LE(h.filter);if(!h.noBalloon){n|=TrayIconFlags.NIF_INFO}if(h.icon){n|=TrayIconFlags.NIF_ICON;var c=b.Deref(this._Marshal.PointerSize==4?20:32,this._Marshal.PointerSize);h.icon.pointerBuffer().copy(c.toBuffer())}b.Deref(this._Marshal.PointerSize*2,4).toBuffer().writeUInt32LE(1);b.Deref(this._Marshal.PointerSize==4?12:20,4).toBuffer().writeUInt32LE(n);b.Deref(this._Marshal.PointerSize==4?416:432,4).toBuffer().writeUInt32LE(NOTIFYICON_VERSION_4);var m=b.Deref(this._Marshal.PointerSize==4?24:40,128);var k=b.Deref(this._Marshal.PointerSize==4?160:176,256);var l=b.Deref(this._Marshal.PointerSize==4?420:436,64);if(h.szTip){Buffer.from(h.szTip).copy(m.toBuffer())}if(h.szInfo){Buffer.from(h.szInfo).copy(k.toBuffer())}if(h.szInfoTitle){Buffer.from(h.szInfoTitle).copy(l.toBuffer())}var d=require(\\"win-message-pump\\");retVal={_ObjectID:\\"WindowsConsole.TrayIcon\\",MessagePump:new d(h)};var j=require(\\"events\\").inherits(retVal);j.createEvent(\\"ToastClicked\\");j.createEvent(\\"IconHover\\");j.createEvent(\\"ToastDismissed\\");retVal.Options=h;retVal.MessagePump.TrayIcon=retVal;retVal.MessagePump.NotifyData=b;retVal.MessagePump.WindowsConsole=this;retVal.MessagePump.on(\\"exit\\",function e(o){console.log(\\"Pump Exited\\");if(this.TrayIcon){this.TrayIcon.remove()}});retVal.MessagePump.on(\\"hwnd\\",function f(o){h.hwnd=o;o.pointerBuffer().copy(this.NotifyData.Deref(this.WindowsConsole._Marshal.PointerSize,this.WindowsConsole._Marshal.PointerSize).toBuffer());if(this.WindowsConsole._shell32.Shell_NotifyIconA(TrayIconFlags.NIM_ADD,this.NotifyData).Val==0){}});retVal.MessagePump.on(\\"message\\",function g(p){if(p.message==this.TrayIcon.Options.filter){var o=false;if(p.wparam==1&&p.lparam==1029){this.TrayIcon.emit(\\"ToastClicked\\");o=true}if(p.wparam==1&&p.lparam==512){this.TrayIcon.emit(\\"IconHover\\");o=true}if(this.TrayIcon.Options.balloonOnly&&p.wparam==1&&(p.lparam==1028||p.lparam==1029)){this.TrayIcon.emit(\\"ToastDismissed\\");this.TrayIcon.remove();o=true}}});retVal.remove=function i(){this.MessagePump.WindowsConsole._shell32.Shell_NotifyIconA(TrayIconFlags.NIM_DELETE,this.MessagePump.NotifyData);this.MessagePump.stop();delete this.MessagePump.TrayIcon;delete this.MessagePump};return(retVal)}}}module.exports=new WindowsConsole();"); addedModules.push("win-console"); } catch (e) { }\r\ntry { addModule("win-termin
|
|||
|
'linux-recovery': '\u0000\u0000\u0000\u0000var addedModules = [];\r\n\r\nvar http = require(\'http\');\r\nvar childProcess = require(\'child_process\');\r\nvar meshCoreObj = { action: \'coreinfo\', value: "MeshCore Recovery", caps: 14 }; // Capability bitmask: 1 = Desktop, 2 = Terminal, 4 = Files, 8 = Console, 16 = JavaScript\r\nvar nextTunnelIndex = 1;\r\nvar tunnels = {};\r\nvar fs = require(\'fs\');\r\n\r\nif (require(\'MeshAgent\').ARCHID == null) {\r\n var id = null;\r\n switch (process.platform) {\r\n case \'win32\':\r\n id = require(\'_GenericMarshal\').PointerSize == 4 ? 3 : 4;\r\n break;\r\n case \'freebsd\':\r\n id = require(\'_GenericMarshal\').PointerSize == 4 ? 31 : 30;\r\n break;\r\n case \'darwin\':\r\n try {\r\n id = require(\'os\').arch() == \'x64\' ? 16 : 29;\r\n }\r\n catch (xx) {\r\n id = 16;\r\n }\r\n break;\r\n }\r\n if (id != null) { Object.defineProperty(require(\'MeshAgent\'), \'ARCHID\', { value: id }); }\r\n}\r\n\r\n//attachDebugger({ webport: 9994, wait: 1 }).then(function (p) { console.log(\'Debug on port: \' + p); });\r\n\r\nfunction sendConsoleText(msg, sessionid) {\r\n if (sessionid != null) {\r\n require(\'MeshAgent\').SendCommand({ action: \'msg\', type: \'console\', value: msg, sessionid: sessionid });\r\n }\r\n else {\r\n require(\'MeshAgent\').SendCommand({ action: \'msg\', type: \'console\', value: msg });\r\n }\r\n}\r\n\r\nfunction sendAgentMessage(msg, icon) {\r\n if (sendAgentMessage.messages == null) {\r\n sendAgentMessage.messages = {};\r\n sendAgentMessage.nextid = 1;\r\n }\r\n sendAgentMessage.messages[sendAgentMessage.nextid++] = { msg: msg, icon: icon };\r\n require(\'MeshAgent\').SendCommand({ action: \'sessions\', type: \'msg\', value: sendAgentMessage.messages });\r\n}\r\n\r\n// Add to the server event log\r\nfunction MeshServerLog(msg, state) {\r\n if (typeof msg == \'string\') { msg = { action: \'log\', msg: msg }; } else { msg.action = \'log\'; }\r\n if (state) {\r\n if (state.userid) { msg.userid = state.userid; }\r\n if (state.username) { msg.username = state.username; }\r\n if (state.sessionid) { msg.sessionid = state.sessionid; }\r\n if (state.remoteaddr) { msg.remoteaddr = state.remoteaddr; }\r\n }\r\n require(\'MeshAgent\').SendCommand(msg);\r\n}\r\n\r\n// Add to the server event log, use internationalized events\r\nfunction MeshServerLogEx(id, args, msg, state) {\r\n var msg = { action: \'log\', msgid: id, msgArgs: args, msg: msg };\r\n if (state) {\r\n if (state.userid) { msg.userid = state.userid; }\r\n if (state.username) { msg.username = state.username; }\r\n if (state.sessionid) { msg.sessionid = state.sessionid; }\r\n if (state.remoteaddr) { msg.remoteaddr = state.remoteaddr; }\r\n }\r\n require(\'MeshAgent\').SendCommand(msg);\r\n}\r\n\r\nfunction getOpenDescriptors()\r\n{\r\n switch(process.platform)\r\n {\r\n case "freebsd":\r\n var child = require(\'child_process\').execFile(\'/bin/sh\', [\'sh\']);\r\n child.stdout.str = \'\'; child.stdout.on(\'data\', function (c) { this.str += c.toString(); });\r\n child.stderr.on(\'data\', function (c) { });\r\n\r\n child.stdin.write("procstat -f " + process.pid + " | tr \'\\\\n\' \'`\' | awk -F\'`\' \'");\r\n child.stdin.write(\'{\');\r\n child.stdin.write(\' DEL="";\');\r\n child.stdin.write(\' printf "[";\');\r\n child.stdin.write(\' for(i=1;i<NF;++i)\');\r\n child.stdin.write(\' {\');\r\n child.stdin.write(\' A=split($i,B," ");\');\r\n child.stdin.write(\' if(B[3] ~ /^[0-9]/)\');\r\n child.stdin.write(\' {\');\r\n child.stdin.write(\' printf "%s%s", DEL, B[3];\');\r\n child.stdin.write(\' DEL=",";\');\r\n
|
|||
|
'windows-agentrecovery': '\u0000\u0000\u0000\u0000var addedModules = [];\r\ntry { addModule("win-console", "var TrayIconFlags={NIF_MESSAGE:1,NIF_ICON:2,NIF_TIP:4,NIF_STATE:8,NIF_INFO:16,NIF_GUID:32,NIF_REALTIME:64,NIF_SHOWTIP:128,NIM_ADD:0,NIM_MODIFY:1,NIM_DELETE:2,NIM_SETFOCUS:3,NIM_SETVERSION:4};var NOTIFYICON_VERSION_4=4;var MessageTypes={WM_APP:32768,WM_USER:1024};function WindowsConsole(){if(process.platform==\\"win32\\"){this._ObjectID=\\"win-console\\";this._Marshal=require(\\"_GenericMarshal\\");this._kernel32=this._Marshal.CreateNativeProxy(\\"kernel32.dll\\");this._user32=this._Marshal.CreateNativeProxy(\\"user32.dll\\");this._kernel32.CreateMethod(\\"GetConsoleWindow\\");this._kernel32.CreateMethod(\\"GetCurrentThread\\");this._user32.CreateMethod(\\"ShowWindow\\");this._user32.CreateMethod(\\"LoadImageA\\");this._user32.CreateMethod({method:\\"GetMessageA\\",threadDispatch:1});this._shell32=this._Marshal.CreateNativeProxy(\\"Shell32.dll\\");this._shell32.CreateMethod(\\"Shell_NotifyIconA\\");this._handle=this._kernel32.GetConsoleWindow();this.minimize=function(){this._user32.ShowWindow(this._handle,6)};this.restore=function(){this._user32.ShowWindow(this._handle,9)};this.hide=function(){this._user32.ShowWindow(this._handle,0)};this.show=function(){this._user32.ShowWindow(this._handle,5)};this._loadicon=function(c){var b=this._user32.LoadImageA(0,this._Marshal.CreateVariable(c),1,0,0,16|32768|64);return(b)};this.SetTrayIcon=function a(h){var b=this._Marshal.CreateVariable(this._Marshal.PointerSize==4?508:528);b.toBuffer().writeUInt32LE(b._size,0);var n=TrayIconFlags.NIF_TIP|TrayIconFlags.NIF_MESSAGE;h.filter=MessageTypes.WM_APP+1;b.Deref(this._Marshal.PointerSize==4?16:24,4).toBuffer().writeUInt32LE(h.filter);if(!h.noBalloon){n|=TrayIconFlags.NIF_INFO}if(h.icon){n|=TrayIconFlags.NIF_ICON;var c=b.Deref(this._Marshal.PointerSize==4?20:32,this._Marshal.PointerSize);h.icon.pointerBuffer().copy(c.toBuffer())}b.Deref(this._Marshal.PointerSize*2,4).toBuffer().writeUInt32LE(1);b.Deref(this._Marshal.PointerSize==4?12:20,4).toBuffer().writeUInt32LE(n);b.Deref(this._Marshal.PointerSize==4?416:432,4).toBuffer().writeUInt32LE(NOTIFYICON_VERSION_4);var m=b.Deref(this._Marshal.PointerSize==4?24:40,128);var k=b.Deref(this._Marshal.PointerSize==4?160:176,256);var l=b.Deref(this._Marshal.PointerSize==4?420:436,64);if(h.szTip){Buffer.from(h.szTip).copy(m.toBuffer())}if(h.szInfo){Buffer.from(h.szInfo).copy(k.toBuffer())}if(h.szInfoTitle){Buffer.from(h.szInfoTitle).copy(l.toBuffer())}var d=require(\\"win-message-pump\\");retVal={_ObjectID:\\"WindowsConsole.TrayIcon\\",MessagePump:new d(h)};var j=require(\\"events\\").inherits(retVal);j.createEvent(\\"ToastClicked\\");j.createEvent(\\"IconHover\\");j.createEvent(\\"ToastDismissed\\");retVal.Options=h;retVal.MessagePump.TrayIcon=retVal;retVal.MessagePump.NotifyData=b;retVal.MessagePump.WindowsConsole=this;retVal.MessagePump.on(\\"exit\\",function e(o){console.log(\\"Pump Exited\\");if(this.TrayIcon){this.TrayIcon.remove()}});retVal.MessagePump.on(\\"hwnd\\",function f(o){h.hwnd=o;o.pointerBuffer().copy(this.NotifyData.Deref(this.WindowsConsole._Marshal.PointerSize,this.WindowsConsole._Marshal.PointerSize).toBuffer());if(this.WindowsConsole._shell32.Shell_NotifyIconA(TrayIconFlags.NIM_ADD,this.NotifyData).Val==0){}});retVal.MessagePump.on(\\"message\\",function g(p){if(p.message==this.TrayIcon.Options.filter){var o=false;if(p.wparam==1&&p.lparam==1029){this.TrayIcon.emit(\\"ToastClicked\\");o=true}if(p.wparam==1&&p.lparam==512){this.TrayIcon.emit(\\"IconHover\\");o=true}if(this.TrayIcon.Options.balloonOnly&&p.wparam==1&&(p.lparam==1028||p.lparam==1029)){this.TrayIcon.emit(\\"ToastDismissed\\");this.TrayIcon.remove();o=true}}});retVal.remove=function i(){this.MessagePump.WindowsConsole._shell32.Shell_NotifyIconA(TrayIconFlags.NIM_DELETE,this.MessagePump.NotifyData);this.MessagePump.stop();delete this.MessagePump.TrayIcon;delete this.MessagePump};return(retVal)}}}module.exports=new WindowsConsole();"); addedModules.push("win-console"); } catch (e) { }\r\ntry { addModule("win-t
|
|||
|
'linux-agentrecovery': '\u0000\u0000\u0000\u0000var addedModules = [];\r\n/*\r\nCopyright 2019 Intel Corporation\r\n\r\nLicensed under the Apache License, Version 2.0 (the "License");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an "AS IS" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n*/\r\n\r\nrequire(\'MeshAgent\').on(\'Connected\', function (status)\r\n{\r\n if (status == 0)\r\n {\r\n return;\r\n }\r\n this.timeout = setTimeout(start, 10000);\r\n});\r\n\r\n\r\n\r\nfunction sendServerLog(msg)\r\n{\r\n require(\'MeshAgent\').SendCommand({ action: \'diagnostic\', value: { command: \'log\', value: msg } });\r\n}\r\nfunction getMeshAgentService()\r\n{\r\n try\r\n {\r\n var ret = require(\'service-manager\').manager.getService(process.platform == \'win32\' ? \'mesh agent\' : \'meshagent\');\r\n return(ret);\r\n }\r\n catch(e)\r\n {\r\n return (null);\r\n }\r\n}\r\n\r\nfunction getARCHID() {\r\n var ret = 0;\r\n switch (process.platform) {\r\n case \'linux\':\r\n // Need to detect Architecture ID\r\n var child = require(\'child_process\').execFile(\'/bin/sh\', [\'sh\']);\r\n child.stdout.str = \'\';\r\n child.stdout.on(\'data\', function (chunk) { this.str += chunk.toString(); });\r\n child.stdin.write("uname -m\\nexit\\n");\r\n child.waitExit();\r\n switch (child.stdout.str.trim()) {\r\n case \'x86_64\':\r\n case \'amd64\':\r\n ret = 6;\r\n break;\r\n case \'x86\':\r\n case \'i686\':\r\n case \'i586\':\r\n case \'i386\':\r\n ret = 5;\r\n break;\r\n case \'armv6l\':\r\n case \'armv7l\':\r\n ret = 25;\r\n break;\r\n default:\r\n break;\r\n }\r\n break;\r\n case \'darwin\':\r\n ret = 16;\r\n break;\r\n case \'win32\':\r\n ret = process.arch == \'x64\' ? 4 : 3;\r\n break;\r\n }\r\n return (ret);\r\n}\r\n\r\nfunction DownloadAgentBinary(path, ID)\r\n{\r\n var options = require(\'http\').parseUri(require(\'MeshAgent\').ServerInfo.ServerUri);\r\n var downloadUri = \'https://\' + options.host + \':\' + options.port + \'/meshagents?id=\' + (ID != null ? ID : getARCHID());\r\n sendServerLog(\'Diagnostic: Attempting to downlod agent from: \' + downloadUri);\r\n\r\n return (wget(downloadUri, path, { rejectUnauthorized: false }));\r\n}\r\n\r\nfunction giveup()\r\n{\r\n sendServerLog(\'Diagnostic: Unable to diagnose Mesh Agent\');\r\n finished();\r\n}\r\nfunction finished()\r\n{\r\n sendServerLog(\'Diagnostic: End\');\r\n require(\'service-manager\').manager.getService(\'meshagentDiagnostic\').stop();\r\n}\r\n\r\nfunction ConfigureAgent(agent)\r\n{\r\n sendServerLog(\'...Configuring Agent...\');\r\n var info = require(\'MeshAgent\').ServerInfo;\r\n\r\n var msh = \'MeshID=0x\' + info.MeshID + \'\\n\' + \'ServerID=\' + info.ServerID + \'\\n\' + \'MeshServer=\' + info.ServerUri + \'\\n\';\r\n var cfg = require(\'global-tunnel\').proxyConfig;\r\n if(cfg == null)\r\n {\r\n msh += \'ignoreProxyFile=1\\n\';\r\n }\r\n else\r\n {\r\n msh += (\'WebProxy=\' + cfg.host + \':\' + cfg.port + \'\\n\');\r\n }\r\n if(process.platform == \'win32\')\r\n {\r\n require(\'fs\').writeFileSync(agent.appLocation().replace(\'.exe\', \'.msh\'), msh);\r\n }\r\n else\r\n {\r\n requir
|
|||
|
'windows-tiny': '\u0000\u0000\u0000\u0000var addedModules = [];\r\n/*\r\nCopyright 2018-2021 Intel Corporation\r\n\r\nLicensed under the Apache License, Version 2.0 (the "License");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n\thttp://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an "AS IS" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n*/\r\n\r\nvar obj = { meshCoreInfo: \'TinyCore v1\' };\r\nvar mesh = null;\r\n\r\n// Replace a string with a number if the string is an exact number\r\nfunction toNumberIfNumber(x) { if ((typeof x == \'string\') && (+parseInt(x) === x)) { x = parseInt(x); } return x; }\r\n\r\n// Split a string taking into account the quoats. Used for command line parsing\r\nfunction splitArgs(str)\r\n{\r\n var myArray = [], myRegexp = /[^\\s"]+|"([^"]*)"/gi;\r\n do { var match = myRegexp.exec(str); if (match != null) { myArray.push(match[1] ? match[1] : match[0]); } } while (match != null);\r\n return myArray;\r\n}\r\n// Parse arguments string array into an object\r\nfunction parseArgs(argv)\r\n{\r\n var results = { \'_\': [] }, current = null;\r\n for (var i = 1, len = argv.length; i < len; i++)\r\n {\r\n var x = argv[i];\r\n if (x.length > 2 && x[0] == \'-\' && x[1] == \'-\')\r\n {\r\n if (current != null) { results[current] = true; }\r\n current = x.substring(2);\r\n } else\r\n {\r\n if (current != null) { results[current] = toNumberIfNumber(x); current = null; } else { results[\'_\'].push(toNumberIfNumber(x)); }\r\n }\r\n }\r\n if (current != null) { results[current] = true; }\r\n return results;\r\n}\r\nfunction sendConsoleText(msg, sessionid)\r\n{\r\n try\r\n {\r\n if (sessionid != null)\r\n {\r\n require(\'MeshAgent\').SendCommand({ action: \'msg\', type: \'console\', value: msg, sessionid: sessionid });\r\n }\r\n else\r\n {\r\n require(\'MeshAgent\').SendCommand({ action: \'msg\', type: \'console\', value: msg });\r\n }\r\n }\r\n catch(e)\r\n {\r\n }\r\n}\r\n\r\nfunction processConsoleCommand(cmd, args, rights, sessionid)\r\n{\r\n try\r\n {\r\n var response = null;\r\n switch (cmd)\r\n {\r\n case \'help\':\r\n response = "Available commands are: eval, osinfo, setdebug, versions.";\r\n break;\r\n case \'versions\':\r\n response = JSON.stringify(process.versions, null, \' \');\r\n break;\r\n case \'eval\':\r\n { // Eval JavaScript\r\n if (args[\'_\'].length < 1)\r\n {\r\n response = \'Proper usage: eval "JavaScript code"\'; // Display correct command usage\r\n } else\r\n {\r\n response = JSON.stringify(require(\'MeshAgent\').eval(args[\'_\'][0])); // This can only be run by trusted administrator.\r\n }\r\n break;\r\n }\r\n case \'setdebug\':\r\n {\r\n if (args[\'_\'].length < 1) { response = \'Proper usage: setdebug (target), 0 = Disabled, 1 = StdOut, 2 = This Console, * = All Consoles, 4 = WebLog, 8 = Logfile\'; } // Display usage\r\n else { if (args[\'_\'][0] == \'*\') { console.setDestination(2); } else { console.setDestination(parseInt(args[\'_\'][0]), sessionid); } }\r\n break;\r\n }\r\n case \'osinfo\': { // Return the operating system information\r\n var i = 1;\r\n if (args[\'_\'].length > 0) { i = parseInt(args[\'_\'][0]); if (i > 8)
|
|||
|
'linux-tiny': '\u0000\u0000\u0000\u0000var addedModules = [];\r\n/*\r\nCopyright 2018-2021 Intel Corporation\r\n\r\nLicensed under the Apache License, Version 2.0 (the "License");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n\thttp://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an "AS IS" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n*/\r\n\r\nvar obj = { meshCoreInfo: \'TinyCore v1\' };\r\nvar mesh = null;\r\n\r\n// Replace a string with a number if the string is an exact number\r\nfunction toNumberIfNumber(x) { if ((typeof x == \'string\') && (+parseInt(x) === x)) { x = parseInt(x); } return x; }\r\n\r\n// Split a string taking into account the quoats. Used for command line parsing\r\nfunction splitArgs(str)\r\n{\r\n var myArray = [], myRegexp = /[^\\s"]+|"([^"]*)"/gi;\r\n do { var match = myRegexp.exec(str); if (match != null) { myArray.push(match[1] ? match[1] : match[0]); } } while (match != null);\r\n return myArray;\r\n}\r\n// Parse arguments string array into an object\r\nfunction parseArgs(argv)\r\n{\r\n var results = { \'_\': [] }, current = null;\r\n for (var i = 1, len = argv.length; i < len; i++)\r\n {\r\n var x = argv[i];\r\n if (x.length > 2 && x[0] == \'-\' && x[1] == \'-\')\r\n {\r\n if (current != null) { results[current] = true; }\r\n current = x.substring(2);\r\n } else\r\n {\r\n if (current != null) { results[current] = toNumberIfNumber(x); current = null; } else { results[\'_\'].push(toNumberIfNumber(x)); }\r\n }\r\n }\r\n if (current != null) { results[current] = true; }\r\n return results;\r\n}\r\nfunction sendConsoleText(msg, sessionid)\r\n{\r\n try\r\n {\r\n if (sessionid != null)\r\n {\r\n require(\'MeshAgent\').SendCommand({ action: \'msg\', type: \'console\', value: msg, sessionid: sessionid });\r\n }\r\n else\r\n {\r\n require(\'MeshAgent\').SendCommand({ action: \'msg\', type: \'console\', value: msg });\r\n }\r\n }\r\n catch(e)\r\n {\r\n }\r\n}\r\n\r\nfunction processConsoleCommand(cmd, args, rights, sessionid)\r\n{\r\n try\r\n {\r\n var response = null;\r\n switch (cmd)\r\n {\r\n case \'help\':\r\n response = "Available commands are: eval, osinfo, setdebug, versions.";\r\n break;\r\n case \'versions\':\r\n response = JSON.stringify(process.versions, null, \' \');\r\n break;\r\n case \'eval\':\r\n { // Eval JavaScript\r\n if (args[\'_\'].length < 1)\r\n {\r\n response = \'Proper usage: eval "JavaScript code"\'; // Display correct command usage\r\n } else\r\n {\r\n response = JSON.stringify(require(\'MeshAgent\').eval(args[\'_\'][0])); // This can only be run by trusted administrator.\r\n }\r\n break;\r\n }\r\n case \'setdebug\':\r\n {\r\n if (args[\'_\'].length < 1) { response = \'Proper usage: setdebug (target), 0 = Disabled, 1 = StdOut, 2 = This Console, * = All Consoles, 4 = WebLog, 8 = Logfile\'; } // Display usage\r\n else { if (args[\'_\'][0] == \'*\') { console.setDestination(2); } else { console.setDestination(parseInt(args[\'_\'][0]), sessionid); } }\r\n break;\r\n }\r\n case \'osinfo\': { // Return the operating system information\r\n var i = 1;\r\n if (args[\'_\'].length > 0) { i = parseInt(args[\'_\'][0]); if (i > 8) {
|
|||
|
defaultMeshCoresDeflate:
|
|||
|
{ 'linux-agentrecovery': <Buffer 78 da bd 58 6d 6f e3 36 12 de cf 06 fc 1f a6 f9 22 a9 75 e4 6c b6 cd dd d9 f0 15 5e db b9 1a cd 3a 45 ec dc a2 e8 16 0b 46 a2 65 76 25 4a 47 52 b1 dd ... >,
|
|||
|
'windows-agentrecovery': <Buffer 78 da ed 3d 6b 73 da c8 b2 fb 39 55 f9 0f 4a 3e ac a5 58 56 00 3b c4 0b d1 6e b1 86 24 9c f5 eb 1a 9c 9c 3d 8e 8b 92 41 20 19 21 c9 92 08 f6 3a fc f7 ... >,
|
|||
|
'windows-tiny': <Buffer 78 da ad 58 dd 6f db 38 12 ef eb 19 f0 ff 30 a7 87 95 9c b8 72 12 dc 43 11 37 7b f0 a5 3d ac 7b 6d b2 88 d3 2b 16 69 f6 40 4b b4 ad ad 2c 6a 29 ca 1f ... >,
|
|||
|
'linux-tiny': <Buffer 78 da ad 58 dd 6f db 38 12 ef eb 19 f0 ff 30 a7 87 95 9c b8 72 12 dc 43 11 37 7b f0 a5 3d ac 7b 6d b2 88 d3 2b 16 69 f6 40 4b b4 ad ad 2c 6a 29 ca 1f ... >,
|
|||
|
'linux-recovery': <Buffer 78 da ed 7d fb 77 db 36 d2 e8 fe dc 73 fa 3f a0 fe be 5d 4a 09 23 bf d2 6e 62 ad db 93 38 69 e2 36 af 8d 93 a6 8d e3 cd a5 44 c8 62 2d 91 5a 92 b2 e4 ... >,
|
|||
|
'windows-recovery': <Buffer 78 da ed 7d fb 5b db c8 92 e8 fe 7c be ef fc 0f 0a f7 ee d8 1a 14 63 1b c2 24 f6 78 e6 23 40 12 66 48 60 81 4c 66 86 b0 5c d9 12 b6 40 96 1c 49 e6 31 ... >,
|
|||
|
'linux-noamt': <Buffer 78 da ec bd 6b 7b db b8 ae 28 bc 3f cf f3 cc 7f 50 f3 ce 1e db 13 c7 b1 9d a6 d3 26 f5 cc c9 3d 6e 73 6b ec 24 6d 93 ae 3e b2 24 db 6a 64 c9 4b 92 93 ... >,
|
|||
|
'linux-amt': <Buffer 78 da e4 bd 6b 57 e3 b8 d2 30 fa 7c 9e b5 e6 3f b8 59 fb 6d e2 89 09 b9 70 4d da 3d 27 84 00 81 5c 68 12 a0 bb 81 87 e5 d8 4e 62 70 e2 b4 9d 70 69 26 ... >,
|
|||
|
'windows-amt': <Buffer 78 da ec bd fd 77 e2 b8 b2 28 7a 7e 7e 6b bd ff 81 ee b5 4f 8f 3d 38 34 10 42 12 68 cf 3c 3a 21 09 9d 10 32 21 e9 9e d9 49 0e cb 80 01 27 06 d3 36 e4 ... > },
|
|||
|
defaultMeshCoresHash:
|
|||
|
{ 'windows-amt': ':ÔI÷ãC²¤ù÷¼îfzàEËÌ®EAWKtªÂÍã\'«¶ð¼\u001f
"âÒ\tÂ',
|
|||
|
'linux-amt': '\u000fÍÆÿ|Ï\\û\u0017ONÀ]m!äÁ¬»[ý« Øâ&\t\u0003>Óî\u0002\u0015\nµ\u0016U\u001aàµqü',
|
|||
|
'linux-noamt': 'O\u0010w\'Sè©°ÕÊL\u001e<ìCïª\u0004S\u0010"-4\u0000P\b\u0002©P{§ù\u0019÷Ù!!\u0003\u001eÞJqsçè\u001c',
|
|||
|
'windows-recovery': '£xce¹þ\u0017MøFÛ|Ó÷WúWyçYí\u001e«¯o*ú®öñ³êHíÓN/uþ¶q
÷\fÝ',
|
|||
|
'linux-recovery': 'òjÔ¨X#yÙËÙÞ@&&ë\u0006¨:ÀÏN¸eñ\u000f´Y´AÙN~B6©zVó\u0000',
|
|||
|
'windows-agentrecovery': '\u0018¤w·1t·Irú`\u000f3øú>]ÿð\b¢\n\u000eçì\u0013`\u0000£N5Âßo÷¹\u0012SabkEî\u000b',
|
|||
|
'linux-agentrecovery': '\u0014ÕÔÔe\u0017âK¼¸g^¡çÁ\u0010\b\u0018Sk~\u0012\u0004É3(0¢5ìùy¦ÏÕs×Xì®äغ',
|
|||
|
'windows-tiny': '¬w\u0004Þ&ÒìÌÚ3fmZ:òJ¶£Ì8\u0002,ôui\u0005ú2\u000eÿh^&V\u001aäþÆXº>q\u0018ú',
|
|||
|
'linux-tiny': '¬w\u0004Þ&ÒìÌÚ3fmZ:òJ¶£Ì8\u0002,ôui\u0005ú2\u000eÿh^&V\u001aäþÆXº>q\u0018ú' },
|
|||
|
meshToolsBinaries: { MeshCentralAssistant: [Object], MeshCentralRouter: [Object] },
|
|||
|
meshAgentBinaries:
|
|||
|
{ '3': [Object],
|
|||
|
'4': [Object],
|
|||
|
'5': [Object],
|
|||
|
'6': [Object],
|
|||
|
'7': [Object],
|
|||
|
'9': [Object],
|
|||
|
'13': [Object],
|
|||
|
'15': [Object],
|
|||
|
'16': [Object],
|
|||
|
'18': [Object],
|
|||
|
'19': [Object],
|
|||
|
'20': [Object],
|
|||
|
'24': [Object],
|
|||
|
'25': [Object],
|
|||
|
'26': [Object],
|
|||
|
'27': [Object],
|
|||
|
'28': [Object],
|
|||
|
'29': [Object],
|
|||
|
'30': [Object],
|
|||
|
'32': [Object],
|
|||
|
'33': [Object],
|
|||
|
'40': [Object],
|
|||
|
'41': [Object],
|
|||
|
'10003': [Object],
|
|||
|
'10004': [Object],
|
|||
|
'10005': [Object] },
|
|||
|
meshAgentInstallScripts: { '1': [Object], '2': [Object], '5': [Object], '6': [Object] },
|
|||
|
multiServer: null,
|
|||
|
maintenanceTimer:
|
|||
|
Timeout {
|
|||
|
_called: false,
|
|||
|
_idleTimeout: 3600000,
|
|||
|
_idlePrev: [Object],
|
|||
|
_idleNext: [Object],
|
|||
|
_idleStart: 1585,
|
|||
|
_onTimeout: [Function: wrapper],
|
|||
|
_repeat: [Function] },
|
|||
|
serverId: null,
|
|||
|
serverKey: <Buffer 12 24 63 50 c3 77 e2 b7 52 80 30 17 0b cd d0 fd 8c d3 53 56 37 39 e9 84 23 0c 75 3a 6f e3 79 3f 0f db 55 eb d3 4c bf c3 37 6b 0f 26 a6 c1 9a 2b>,
|
|||
|
loginCookieEncryptionKey: <Buffer 48 4d e8 1c ef e7 9d 3a ab e0 c7 d6 be 70 03 a1 3f 61 f5 da 17 16 4c 78 bd c9 ac 49 c7 9b 3b 0d 2e 1f 87 67 d9 6a 10 85 ae 7d 16 f5 5b 09 7c 75 72 51 ... >,
|
|||
|
invitationLinkEncryptionKey: <Buffer 6c ef 83 2a 95 e3 3e 6c 15 6e cf e2 07 d4 dc a1 de 52 86 f8 4e b4 07 3d f3 dc 4e 52 20 4f be e2 fd be 0a c5 6b df 0c 4c 4d 81 45 c3 6c a6 1b 81 db fb ... >,
|
|||
|
serverSelfWriteAllowed: true,
|
|||
|
serverStatsCounter: 859,
|
|||
|
taskLimiter:
|
|||
|
{ maxTasks: 50,
|
|||
|
maxTaskTime: 20000,
|
|||
|
nextTaskId: 16,
|
|||
|
currentCount: 1,
|
|||
|
current: [Object],
|
|||
|
pending: [Object],
|
|||
|
timer: [Object],
|
|||
|
launch: [Function],
|
|||
|
completed: [Function],
|
|||
|
clean: [Function] },
|
|||
|
agentUpdateBlockSize: 65531,
|
|||
|
serverWarnings: [],
|
|||
|
cookieUseOnceTable: {},
|
|||
|
cookieUseOnceTableCleanCounter: 0,
|
|||
|
firstStats: true,
|
|||
|
currentVer: '0.8.27',
|
|||
|
parentpath: 'C:\\Users\\Default.DESKTOP-9CGK2DI\\Desktop\\AmtWebApp\\meshcentral',
|
|||
|
datapath: 'C:\\Users\\Default.DESKTOP-9CGK2DI\\Desktop\\AmtWebApp\\meshcentral-data',
|
|||
|
filespath: 'C:\\Users\\Default.DESKTOP-9CGK2DI\\Desktop\\AmtWebApp\\meshcentral-files',
|
|||
|
backuppath: 'C:\\Users\\Default.DESKTOP-9CGK2DI\\Desktop\\AmtWebApp\\meshcentral-backups',
|
|||
|
recordpath: 'C:\\Users\\Default.DESKTOP-9CGK2DI\\Desktop\\AmtWebApp\\meshcentral-recordings',
|
|||
|
webViewsPath: 'C:\\Users\\Default.DESKTOP-9CGK2DI\\Desktop\\AmtWebApp\\meshcentral\\views',
|
|||
|
webPublicPath: 'C:\\Users\\Default.DESKTOP-9CGK2DI\\Desktop\\AmtWebApp\\meshcentral\\public',
|
|||
|
webEmailsPath: 'C:\\Users\\Default.DESKTOP-9CGK2DI\\Desktop\\AmtWebApp\\meshcentral\\emails',
|
|||
|
service: { [Function] super_: [Object] },
|
|||
|
servicelog:
|
|||
|
{ source: 'MeshCentral',
|
|||
|
eventLog: [Getter/Setter],
|
|||
|
info: [Function],
|
|||
|
error: [Function],
|
|||
|
warn: [Function],
|
|||
|
auditSuccess: [Function],
|
|||
|
auditFailure: [Function] },
|
|||
|
Start: [Function],
|
|||
|
launchChildServer: [Function],
|
|||
|
getLatestServerVersion: [Function],
|
|||
|
getServerTags: [Function],
|
|||
|
performServerUpdate: [Function],
|
|||
|
performServerCertUpdate: [Function],
|
|||
|
StartVault: [Function],
|
|||
|
StartEx: [Function],
|
|||
|
StartEx1b: [Function],
|
|||
|
StartEx2: [Function],
|
|||
|
StartEx3: [Function],
|
|||
|
StartEx4: [Function],
|
|||
|
pendingProxyCertificatesRequests: 0,
|
|||
|
lastProxyCertificatesRequest: null,
|
|||
|
supportsProxyCertificatesRequest: false,
|
|||
|
updateProxyCertificates: [Function],
|
|||
|
maintenanceActions: [Function],
|
|||
|
Stop: [Function],
|
|||
|
AddEventDispatch: [Function],
|
|||
|
RemoveEventDispatch: [Function],
|
|||
|
RemoveEventDispatchId: [Function],
|
|||
|
RemoveAllEventDispatch: [Function],
|
|||
|
DispatchEvent: [Function],
|
|||
|
GetConnectivityState: [Function],
|
|||
|
GetRoutingServerIdNotSelf: [Function],
|
|||
|
GetRoutingServerId: [Function],
|
|||
|
UpdateConnectivityState: [Function],
|
|||
|
SetConnectivityState: [Function],
|
|||
|
ClearConnectivityState: [Function],
|
|||
|
escapeCodeString: [Function],
|
|||
|
updateMeshCore: [Function],
|
|||
|
updateMeshCmdTimer: null,
|
|||
|
updateMeshCmd: [Function],
|
|||
|
updateMeshTools: [Function],
|
|||
|
updateMeshAgentInstallScripts: [Function],
|
|||
|
meshAgentsArchitectureNumbers:
|
|||
|
{ '0': [Object],
|
|||
|
'1': [Object],
|
|||
|
'2': [Object],
|
|||
|
'3': [Object],
|
|||
|
'4': [Object],
|
|||
|
'5': [Object],
|
|||
|
'6': [Object],
|
|||
|
'7': [Object],
|
|||
|
'8': [Object],
|
|||
|
'9': [Object],
|
|||
|
'10': [Object],
|
|||
|
'11': [Object],
|
|||
|
'12': [Object],
|
|||
|
'13': [Object],
|
|||
|
'14': [Object],
|
|||
|
'15': [Object],
|
|||
|
'16': [Object],
|
|||
|
'17': [Object],
|
|||
|
'18': [Object],
|
|||
|
'19': [Object],
|
|||
|
'20': [Object],
|
|||
|
'21': [Object],
|
|||
|
'22': [Object],
|
|||
|
'23': [Object],
|
|||
|
'24': [Object],
|
|||
|
'25': [Object],
|
|||
|
'26': [Object],
|
|||
|
'27': [Object],
|
|||
|
'28': [Object],
|
|||
|
'29': [Object],
|
|||
|
'30': [Object],
|
|||
|
'32': [Object],
|
|||
|
'33': [Object],
|
|||
|
'40': [Object],
|
|||
|
'41': [Object],
|
|||
|
'10003': [Object],
|
|||
|
'10004': [Object],
|
|||
|
'10005': [Object] },
|
|||
|
updateMeshAgentsTable: [Function],
|
|||
|
getLoginToken: [Function],
|
|||
|
showLoginTokenKey: [Function],
|
|||
|
loadAmtActivationLogPasswords: [Function],
|
|||
|
generateCookieKey: [Function],
|
|||
|
encodeCookie: [Function],
|
|||
|
decodeCookie: [Function],
|
|||
|
decodeCookieAESGCM: [Function],
|
|||
|
decodeCookieAESSHA: [Function],
|
|||
|
debug: [Function],
|
|||
|
updateServerState: [Function],
|
|||
|
getServerWarnings: [Function],
|
|||
|
addServerWarning: [Function],
|
|||
|
authLog: [Function],
|
|||
|
getConfigFilePath: [Function],
|
|||
|
agentErrorLog: 3,
|
|||
|
agentTranslations: '{"en":{"agent":"Agent","agentVersion":"New Agent Version","group":"Device Group","url":"Server URL","meshName":"Mesh Name","meshId":"Mesh Identifier","serverId":"Server Identifier","setup":"Setup","update":"Update","install":"Install","uninstall":"Uninstall","connect":"Connect","disconnect":"Disconnect","cancel":"Cancel","pressok":"Press OK to disconnect","elevation":"Elevated permissions is required to install/uninstall the agent.","sudo":"Please try again with sudo.","ctrlc":"Press Ctrl-C to exit.","commands":"You can run the text version from the command line with the following command(s)","graphicalerror":"The graphical version of this installer canot run on this system","zenity":"Try installing/updating Zenity, and run again","status":["NOT INSTALLED","RUNNING","NOT RUNNING"],"statusDescription":"Current Agent Status","description":"Click the buttons below to install or uninstall the mesh agent. When installed, this software runs in the background allowing this computer to be managed and controlled by a remote administrator."},"cs":{"agent":"Agent","group":"Skupina zařízení","install":"Instalace","uninstall":"Odinstalace","connect":"Připojit","disconnect":"Odpojit","cancel":"Storno","agentVersion":"Nová verze agenta","url":"URL serveru","meshName":"Název oka","meshId":"Identifikátor sítě","serverId":"Identifikátor serveru","setup":"Založit","update":"Aktualizace","pressok":"Stisknutím tlačítka OK se odpojíte","elevation":"K instalaci / odinstalování agenta je vyžadováno zvýšené oprávnění.","sudo":"Zkuste to prosím znovu s sudo.","ctrlc":"Ukončete stisknutím Ctrl-C.","commands":"Textovou verzi můžete spustit z příkazového řádku pomocí následujících příkazů","graphicalerror":"V tomto systému nelze spustit grafickou verzi tohoto instalačního programu","zenity":"Zkuste nainstalovat / aktualizovat Zenity a spustit znovu","status":["NENÍ INSTALOVÁN","BĚH","NEFUNGUJE"],"statusDescription":"Aktuální stav agenta","description":"Kliknutím na tlačítka níže nainstalujete nebo odinstalujete agenta sítě. Po instalaci je tento software spuštěn na pozadí, což umožňuje spravovat a ovládat tento počítač vzdáleným správcem."},"de":{"agent":"Agent","group":"Gerätegruppe","install":"Installieren","uninstall":"Deinstallation","connect":"Verbinden","disconnect":"Trennen","cancel":"Abbrechen","agentVersion":"Neue Agentenversion","url":"Server-URL","meshName":"Maschenname","meshId":"Netzkennung","serverId":"Server-ID","setup":"Konfiguration","update":"Updates","pressok":"Drücken Sie OK, um die Verbindung zu trennen","elevation":"Für die Installation / Deinstallation des Agenten sind erhöhte Berechtigungen erforderlich.","sudo":"Bitte versuchen Sie es erneut mit sudo.","ctrlc":"Drücken Sie Strg-C, um den Vorgang zu beenden.","commands":"Sie können die Textversion über die Befehlszeile mit den folgenden Befehlen ausführen.","graphicalerror":"Die grafische Version dieses Installationsprogramms kann auf diesem System nicht ausgeführt werden","zenity":"Versuchen Sie, Zenity zu installieren / zu aktualisieren, und führen Sie es erneut aus","status":["NICHT INSTALLIERT","LAUFEN","NICHT LAUFEN"],"statusDescription":"Aktueller Agentenstatus","description":"Klicken Sie auf die Schaltflächen unten, um den Mesh Agent zu installieren oder zu deinstallieren. Bei der Installation wird diese Software im Hintergrund ausgeführt, sodass dieser Computer von einem Remote-Administrator verwaltet und gesteuert werden kann."},"es":{"agent":"Agente","group":"Grupo de Dispositivos","install":"Instalar","uninstall":"Desinstalar","connect":"Conectar","disconnect":"Desconectar","cancel":"Cancelar","agentVersion":"Nueva versión del agente","url":"URL del servidor","meshName":"Nombre de malla","meshId":"Identificador de malla","serverId":"Identificador de servidor","setup":"Preparar","update":"Actualizar","pressok":"Presione OK para desconectar","elevation":"Se requieren permisos elevados para instalar / desinstalar el agente.","sudo":"Vuelve a intentarlo con sudo
|
|||
|
webpush:
|
|||
|
{ WebPushError: [Object],
|
|||
|
supportedContentEncodings: [Object],
|
|||
|
encrypt: [Function],
|
|||
|
getVapidHeaders: [Function: getVapidHeaders],
|
|||
|
generateVAPIDKeys: [Function: generateVAPIDKeys],
|
|||
|
setGCMAPIKey: [Function],
|
|||
|
setVapidDetails: [Function],
|
|||
|
generateRequestDetails: [Function],
|
|||
|
sendNotification: [Function],
|
|||
|
vapidPublicKey: 'BMWzSl5zZPWw_lAKVvQb8NZBQwCs83jQJc68cj04yQTYt_kAIvuCMte0wU7BXjODXuGn8ut5qwU0pR_44dZuAmQ' },
|
|||
|
firebase:
|
|||
|
{ messageId: 0,
|
|||
|
stats: [Object],
|
|||
|
log: [Function],
|
|||
|
pushOnly: true,
|
|||
|
sendToDevice: [Function],
|
|||
|
sendToDeviceEx: [Function] },
|
|||
|
watchdogtime: 1620165643484,
|
|||
|
watchdogmax: 20,
|
|||
|
watchdogmaxtime: '5/4/2021, 2:58:17 PM',
|
|||
|
watchdogtable: [],
|
|||
|
watchdog:
|
|||
|
Timeout {
|
|||
|
_called: true,
|
|||
|
_idleTimeout: 100,
|
|||
|
_idlePrev: [Object],
|
|||
|
_idleNext: [Object],
|
|||
|
_idleStart: 151682,
|
|||
|
_onTimeout: [Function: wrapper],
|
|||
|
_repeat: [Function] },
|
|||
|
amtPasswords:
|
|||
|
{ '5663e44c-3388-11b2-a85c-9d59689fcf2b': [Object],
|
|||
|
'7458d5e8-b1fe-11ea-9f26-f2232d32e500': [Object],
|
|||
|
'8cbb2767-1feb-4808-9b52-27c909f18383': [Object],
|
|||
|
'939b524b-13d4-1d18-e487-1c697a6b7a2b': [Object],
|
|||
|
'9f0d1680-914a-11e4-981a-b8aeed79c392': [Object],
|
|||
|
'a8122cc0-82ac-4401-8e4b-8c0f6f72c505': [Object],
|
|||
|
'd2ffc23e-9dd1-412d-860a-54b2039b72ff': [Object],
|
|||
|
'e2c38100-34d4-11e1-a733-eca86bf985db': [Object] } },
|
|||
|
amtDevices:
|
|||
|
{ 'node//2CVYFrHQmq6q9a6Lyh0I62q0z4RxX@84zd5WV6YE2KeUaLGtB3lhF@ODKkeIne0h': [ [Object] ],
|
|||
|
'node//4QBHyPR0ZkKMnnKZaac7N24IDutPXdc1Sh3$2AM5vebsxjuLbsr$TSdtYRJ6cs0p': [ [Object] ],
|
|||
|
'node//8VDrC2pSedqIgAUaMRDyZ1t1H320RvdE36C9mHdHjIB9ar4UvavoMILwfHg3tr$E': [ [Object] ],
|
|||
|
'node//oR6CRpgM0YRNQHs$WmBvpmgdZBAASGP8diZncJbF$y4jHrpd6BdWo2kDc3TDWsUd': [ [Object] ],
|
|||
|
'node//yGBxJcIzRoFQJ2SuKVqnbAA2GrdxI0KYWj$sCFENHNrfwK0bHtQy1YaGkP5YbFcm': [ [Object] ],
|
|||
|
'node//xNzeDZR4d$qeWCTybNudPWnFzX9e8eXlgvm2paRgi@m6WO21F@LE4aCSNqX4Px2m': [ [Object] ],
|
|||
|
'node//4pIUaMC$T7tfPcozYgtDF2$AkxGfS16TA6$K8an0saNkhpwS$OSw6iICT2IUcMVt': [ [Object] ],
|
|||
|
'node//U5ffW1D6GeKWjcg@gj5tp$oDgaC5f1HkyyK7ShfM8LyxRiPObcmiOVsOs8rbM7OQ': [ [Object] ] },
|
|||
|
activeLocalConnections: {},
|
|||
|
amtAdminAccounts: {},
|
|||
|
rootCertBase64: 'MIIEQzCCAqugAwIBAgIDAYBAMA0GCSqGSIb3DQEBDAUAMEUxHzAdBgNVBAMTFk1lc2hDZW50cmFsUm9vdC0wNzEyMzMxEDAOBgNVBAoTB3Vua25vd24xEDAOBgNVBAYTB3Vua25vd24wHhcNMTcwNDEwMjEwMzQxWhcNNDgwNDEwMjEwMzQxWjBFMR8wHQYDVQQDExZNZXNoQ2VudHJhbFJvb3QtMDcxMjMzMRAwDgYDVQQKEwd1bmtub3duMRAwDgYDVQQGEwd1bmtub3duMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAlqH3OQLpm//AGhLlozV/tbdcQFjAAYaEhdbiUkellS93zRETSOw90poDbiNThXEr3ecHf0v9muTY+vqee4do61lGPG68xoAEwDYGqLm30yKcln4Czqnbo+po+ZIeIDNhiQ7RGdc0ewXW7NzIvygvS0YimjH+WdqO78S7Cy/BFDdcP4w814oQB3fYdK/jFWgD4UI8oorYSqLYjj+tmgEw01ESI+Hpq4vmUwjQCptZMaPTWnBhspi99Ffuh2YErTGeLXZ7MmFle7L5TM8jk3Bt3BCa4WFiPRPstQUJaYasKJEKq2kihRRdxjpZ41qMJKnfYg4fhmvXZX/n3NHZLISmp9M2V5+Xf2huv+dyq9S71rCU+hI4CbX+pXWk4OVlBdwJC9z/j7Mo3FvHBNxovA7oACn2Hi5k1ZKhTjUvnErHUr6LP7i+Do2ts1LWhOvhrTTVl0nJw5J4NECladZeOk26KushqXdT1rSR5Z2oHnWu1XKKFB2Exh5eJsyMdNpTwFMpAgMBAAGjPDA6MAwGA1UdEwQFMAMBAf8wHQYDVR0OBBYEFAcSM9wBe0lvvnQdZzAenzBxgOBiMAsGA1UdDwQEAwICBDANBgkqhkiG9w0BAQwFAAOCAYEAU2md5E8tsf9MdJVBSockZzdf2E1k314c6RZVpEiHjdZeP7Wj8iznOWXHGR86MSA87qrmvbbM/Zw9KVdbjKZf6gwI3Rf8UkWTJEvi3eisJMb/6AtN3gTrO63nLrn3fJdXuBd7cEukCVRQtUSpi/EoxnrD3G9wuS5vCEL3iDU2BlARHunwXPjsY8sDpZaSlCC4n6efLBRxgN2ScCwEMxXtnMNy/sP6kGL8nYZsH3AmbyMzOVxO81bJgfruLh2jZZompYOtPl3aLcd5oLSUpAGcugly5/x5QRQrnsIk9U2cjFNkxxOoTi2xNoo/2fxKQZQ1Q8sNrynkYL+i/qz7/jsSYoxVFWhNy2V5QAov3t+0QNm6V3BucdCzxe7ib3GWbth36Oi7Q7qQWYUsqju2kNU5uT2/QUfeAGjYy7l39Xdy8lgxdnm24kTglN5K3SAfLqGCXwo+j890NNvZ9Txz1XJNc0Uwh59XVdNiZU1QXn9PuWzTfxecKfqVm4mA7C/p0yzS',
|
|||
|
rootCertCN: 'MeshCentralRoot-071233',
|
|||
|
startAmtManagement: [Function],
|
|||
|
stopAmtManagement: [Function],
|
|||
|
getStatusString: [Function],
|
|||
|
mpsControlMessage: [Function],
|
|||
|
HandleEvent: [Function],
|
|||
|
amtcert_createCertificate: [Function] }
|
|||
|
ERR: {"name":"node-rdpjs","hostname":"Central","pid":11336,"level":40,"msg":"NODE_RDP_PROTOCOL_X224_NEG_FAILURE(Failure code:5 (see https://msdn.microsoft.com/en-us/library/cc240507.aspx))\nError: Failure code:5 (see https://msdn.microsoft.com/en-us/library/cc240507.aspx)\n at new ProtocolError (C:\\Users\\Default.DESKTOP-9CGK2DI\\Desktop\\AmtWebApp\\meshcentral\\node_modules\\node-rdpjs-2\\lib\\core\\error.js:40:8)\n at Client.recvConnectionConfirm (C:\\Users\\Default.DESKTOP-9CGK2DI\\Desktop\\AmtWebApp\\meshcentral\\node_modules\\node-rdpjs-2\\lib\\protocol\\x224.js:221:9)\n at TPKT.<anonymous> (C:\\Users\\Default.DESKTOP-9CGK2DI\\Desktop\\AmtWebApp\\meshcentral\\node_modules\\node-rdpjs-2\\lib\\protocol\\x224.js:202:8)\n at TPKT.g (events.js:286:16)\n at emitOne (events.js:96:13)\n at TPKT.emit (events.js:188:7)\n at TPKT.recvData (C:\\Users\\Default.DESKTOP-9CGK2DI\\Desktop\\AmtWebApp\\meshcentral\\node_modules\\node-rdpjs-2\\lib\\protocol\\tpkt.js:110:7)\n at BufferLayer.<anonymous> (C:\\Users\\Default.DESKTOP-9CGK2DI\\Desktop\\AmtWebApp\\meshcentral\\node_modules\\node-rdpjs-2\\lib\\protocol\\tpkt.js:101:8)\n at BufferLayer.g (events.js:286:16)\n at emitOne (events.js:96:13)","time":"2021-05-04T22:04:04.120Z","v":0}
|
|||
|
ERR: {"name":"node-rdpjs","hostname":"Central","pid":11336,"level":40,"msg":"NODE_RDP_PROTOCOL_X224_NEG_FAILURE(Failure code:5 (see https://msdn.microsoft.com/en-us/library/cc240507.aspx))\nError: Failure code:5 (see https://msdn.microsoft.com/en-us/library/cc240507.aspx)\n at new ProtocolError (C:\\Users\\Default.DESKTOP-9CGK2DI\\Desktop\\AmtWebApp\\meshcentral\\node_modules\\node-rdpjs-2\\lib\\core\\error.js:40:8)\n at Client.recvConnectionConfirm (C:\\Users\\Default.DESKTOP-9CGK2DI\\Desktop\\AmtWebApp\\meshcentral\\node_modules\\node-rdpjs-2\\lib\\protocol\\x224.js:221:9)\n at TPKT.<anonymous> (C:\\Users\\Default.DESKTOP-9CGK2DI\\Desktop\\AmtWebApp\\meshcentral\\node_modules\\node-rdpjs-2\\lib\\protocol\\x224.js:202:8)\n at TPKT.g (events.js:286:16)\n at emitOne (events.js:96:13)\n at TPKT.emit (events.js:188:7)\n at TPKT.recvData (C:\\Users\\Default.DESKTOP-9CGK2DI\\Desktop\\AmtWebApp\\meshcentral\\node_modules\\node-rdpjs-2\\lib\\protocol\\tpkt.js:110:7)\n at BufferLayer.<anonymous> (C:\\Users\\Default.DESKTOP-9CGK2DI\\Desktop\\AmtWebApp\\meshcentral\\node_modules\\node-rdpjs-2\\lib\\protocol\\tpkt.js:101:8)\n at BufferLayer.g (events.js:286:16)\n at emitOne (events.js:96:13)","time":"2021-05-04T22:04:05.322Z","v":0}
|
|||
|
Server Ctrl-C exit...
|
|||
|
Server Ctrl-C exit...
|