1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-14 07:13:37 +00:00

1. Updated authenticode parser to check for empty string

2. Updated _agentStatus to support custom IPC
This commit is contained in:
Bryan Roe
2022-02-08 13:28:24 -08:00
parent d821d53f19
commit a040047e01
3 changed files with 9 additions and 6 deletions

View File

@@ -106,7 +106,10 @@ function locked(uri)
var tokens = q.pop().split('=');
if (tokens[0].trim().toLowerCase() == 'serverid')
{
return ({ dns: f.host, id: tokens[1] });
if (f.host != null && f.host != '' && tokens[1] != null && tokens[1] != '')
{
return ({ dns: f.host, id: tokens[1] });
}
}
}
return (null);