1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-26 05:03:15 +00:00
Commit Graph

85 Commits

Author SHA1 Message Date
Bryan Roe
bc40427b26 1. Updated CoInitializseEx() to MULTITHREAD when running service in console mode
2. Updated Cleanup code for COM, so that Release is not called from finalizer
3. Updated installer to create WebRTC UDP firewall rule
2021-11-09 15:21:16 -08:00
Bryan Roe
f3ed0f8572 Updated text of -info switch 2021-08-10 22:34:52 -07:00
Bryan Roe
c60b067c00 Updated -info switch to include Host OS Info and Architecture 2021-08-10 22:32:13 -07:00
Ylian Saint-Hilaire
51646002cd Fixed windows service install dialog box button placement. 2021-07-09 13:10:40 -07:00
Ylian Saint-Hilaire
2a2386b78e Fixed agent install dialog text. 2021-07-09 12:40:53 -07:00
Bryan Roe
9fa19bf1be 1. Added getDomain() to user-sessions for windows
2. Fixed service.restart() error condition, to reject the promise
3. Fixed ServiceMain start/stop/restart/state for Windows
2021-04-20 15:02:54 -07:00
Bryan Roe
c4eebc78eb Fixed MSH parsing bug on Windows 2020-12-18 17:58:18 -08:00
Bryan Roe
eb1dbb6119 Updated language selection and defaults 2020-12-18 14:08:03 -08:00
Bryan Roe
c37087272a Added language default 2020-12-18 13:29:44 -08:00
Bryan Roe
5c1b44e749 Fixed memory leak 2020-12-18 10:42:04 -08:00
Bryan Roe
081c866765 updated translation support 2020-12-17 15:26:01 -08:00
Bryan Roe
61e52dcb36 1. Fixed compiler warning
2. Added service utility, to autocorrect for misconfiguration of service name
3. Modified Windows Service, to find correct service name, if misconfigured
2020-12-14 21:44:53 -08:00
Bryan Roe
a37b647519 Added translation support to windows install dialog 2020-12-11 18:47:31 -08:00
Bryan Roe
7cf439c761 1. Improved timer tracking display
2. Added -agentHash and -agentFullHash switches
2020-12-10 12:00:47 -08:00
Bryan Roe
af3a184696 Added system language query to Windows Service Installer 2020-12-01 14:48:59 -08:00
Bryan Roe
2fc2206eb9 1. Adding missing definition for MNG_KVM_KEY_UNICODE
2. Updated Windows Unicode KeyPress
3. Fixed bug with self update that causes update to fail for older service installations
2020-11-17 23:47:29 -08:00
Bryan Roe
78f264bd90 Changed sas.dll to dynamically load, becuase it doesn't exist on Windows Core 2020-11-16 09:34:29 -08:00
Bryan Roe
5ae400231d Updated version string in Windows Service Installer UI 2020-11-12 01:30:57 -08:00
Bryan Roe
dfb62e8580 Updated Windows Install Dialog 2020-11-11 20:05:30 -08:00
Bryan Roe
58a7305920 1. Fixed bug in self-update on Windows, when looking at argv
2. Added comments about LoadLibraryEx usage
3. Modified IsWow64() to use GetModuleHandleA() instead of LoadLibraryEx()
2020-11-10 20:36:05 -08:00
Bryan Roe
cb7b76a1ab 1. Removed LoadLibraryExA() call for GetTickCount64 on windows
2. Fixed self update bug on older installs
2020-11-10 17:13:02 -08:00
Bryan Roe
c14f8111c3 Updated self update for Windows 2020-11-10 02:50:57 -08:00
Bryan Roe
d529c5ec7c Added missing format string 2020-10-29 14:43:02 -07:00
Bryan Roe
aeef17e649 Added support for parallel installs, using alternative service names 2020-10-24 13:26:02 -07:00
Bryan Roe
a2892996fb IOActive update for size_t vs int for buffer lengths 2020-10-16 00:48:34 -07:00
Bryan Roe
8b96f94c2f Updated atoi usage 2020-09-25 10:13:21 -07:00
Bryan Roe
63d979ae97 Added ability to run zip files from command line 2020-07-17 10:31:17 -07:00
Bryan Roe
67fc6c54b1 Addressed IOActive issues 2020-07-15 01:24:56 -07:00
Bryan Roe
0d4f0f6adc 1. Implemented missing event 'net.server.connect'
2. Added integer overflow checks on ILibMemory operations
3. Added better bounds checking for DNS resolve and PE header parsing
2020-06-26 23:10:43 -07:00
Bryan Roe
e3c20eb6c5 Removed unreferecned code 2020-06-23 13:50:29 -07:00
Bryan Roe
9a08c9f7f8 Removed dead code 2020-06-23 13:48:55 -07:00
Bryan Roe
6bed0f5263 Updated command line switch descriptions 2020-06-17 17:33:33 -07:00
Bryan Roe
e406f8767d Updated text formatting 2020-06-13 22:02:44 -07:00
Bryan Roe
c3ad70a70e Added ZLIB Compression Support 2020-06-13 21:57:46 -07:00
Bryan Roe
a0cda3989c fixed typo with ')' placement 2020-06-02 13:23:44 -07:00
Bryan Roe
9b47e7891a Add -state flag 2020-05-29 13:41:36 -07:00
Bryan Roe
3824ef638c Updated project files, and fixed compiler warnings 2020-05-28 00:54:30 -07:00
Bryan Roe
70979ad761 1. Fixed process.kill() on windows to wait to complete
2. Updated self update on windows to handle stale processes
2020-05-20 21:10:02 -07:00
Bryan Roe
7ab6eb1d04 Updated UAC Elevation of Temp Agent, to run unprivileged if UAC is denied 2020-05-18 03:23:46 -07:00
Bryan Roe
19fb0163d5 Added UAC elevation for Temporary Agent when run from connect button on installer UI 2020-05-17 23:07:11 -07:00
Bryan Roe
a7a2b84a91 1. Updated -fullinstall -install -fulluninstall -install to use agent-installer
2. Fixed DPI awareness on Installer Dialog Box
2020-05-01 00:42:37 -07:00
Bryan Roe
10f1f53912 1. Removed usage of wcstomb_s(), which doesn't support UTF8
2. Added WideToUTF8_stupid() helper for API calls that give you byte count instead of character count of a non-null terminated UTF16 string
3. Fixed a few more places to support UTF8
2020-04-30 16:20:37 -07:00
Bryan Roe
71bd469551 fix 2020-04-29 03:01:44 -07:00
Bryan Roe
5ba1288cdf Modified JS runtime to use ILibMemory_Extra to point to udata structure,
then used that for consistency checks
2020-04-17 15:05:47 -07:00
Bryan Roe
0ce6fa835f 1. Added ability to get/set remote mouse render
2. Fixed remoteMouseRender flag for Windows
2020-04-07 10:32:03 -07:00
Bryan Roe
b8208f63ed Fixed Installer/Uninstaller
1. Remapped -fulluninstall to -funinstall
2. Updated behavior so db is not loaded if agent-installer is invoked
3. Renamed Windows Uninstaller from MeshCentralAgent to Mesh Agent for consistency
4. Update service-manager.installService(), such that if the service is the mesh agent, the windows uninstaller will invoke -fulluninstall
5. Updated agent-installer so that secondary agent and its scheduled tasks will be deleted on uninstall
6. Updated event-emitter, so if process.exit() is called on an emit(), it won't throw a catchable exception
2020-04-07 00:03:11 -07:00
Bryan Roe
6f5f065eb5 1. Changed Array.includes polyfill to be nonenumerable, fixing potential problems when using for loops
2. Added uninstall helper
3. Fixed macOS bug on 'load' function
2020-02-25 23:32:21 -08:00
Bryan Roe
0555a14b7f Updates service, so it can run with runtime parameters 2020-02-14 23:03:14 -08:00
Bryan Roe
b901d11f97 1. Added placeholder for new installer
2. Updated service, so placeholder will be unified across platforms
2020-02-13 17:11:14 -08:00
Bryan Roe
cefe8bffba Added '-licenses' command line switch to view licenses 2020-01-10 16:53:53 -08:00