1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-24 04:04:31 +00:00
Commit Graph

717 Commits

Author SHA1 Message Date
Bryan Roe
5f1656b0ba 1. Unified uncaughtException exception processing
2. updated promise, so uncaughtRejection emits an uncaughtException
2020-02-06 18:57:18 -08:00
Bryan Roe
937ae3b5d2 Added pid check for forkpty() initialization MeshCentral_v0.4.8-p 2020-02-05 13:07:56 -08:00
Bryan Roe
ee10dbeb17 Fixed #include for FreeBSD 2020-02-05 11:13:25 -08:00
Bryan Roe
91ec72b34d Fixed #include for FreeBSD/MacOS 2020-02-05 11:04:09 -08:00
Bryan Roe
afe0deacb2 Fixed bug where interactive shell was redirecting stderr 2020-02-04 17:15:51 -08:00
Bryan Roe
32592bd622 1. Updated environment variables, so that string values are coerced
2. Added ability to specify termios struct values via environment variables
2020-02-04 15:23:52 -08:00
Bryan Roe
052c3d5414 Fixed windows notifications so they work, if the message contains ' characters MeshCentral_v0.4.8-i 2020-01-31 10:43:00 -08:00
Bryan Roe
cdb7f4cfc0 Fixed bug where Windows GetClipboard was getting wrong length when UTF8 2020-01-31 09:52:10 -08:00
Bryan Roe
d690d24c89 added 'resizeTerminal' method MeshCentral_v0.4.8-g 2020-01-30 10:35:54 -08:00
Bryan Roe
2e04da2fc7 Fixed bug in Windows IPC Socket, where paused stream was not resumed when you hooked the 'end' event 2020-01-30 10:35:28 -08:00
Bryan Roe
0bbc0d8f66 Added ability to dispatch method invocations on remote stream 2020-01-30 10:34:38 -08:00
Bryan Roe
e8d263a816 Added missing code to set hostname 2020-01-29 11:47:20 -08:00
Bryan Roe
80547a5da5 Fixed invalid length 2020-01-29 11:14:39 -08:00
Bryan Roe
8fadf4b5bc Removed code that was supposed to be removed 2020-01-29 10:26:30 -08:00
Bryan Roe
888629c179 1. Fixed bug in command line msh flag feature, where terminating NULL wasn't added on read
2. Updated 'agentName' feature to send new command, instead of overriding host name
2020-01-29 10:09:01 -08:00
Bryan Roe
1d9908f944 Fixed warnings 2020-01-29 09:29:21 -08:00
Bryan Roe
726fdf2bd6 Updated, so 32 bit on 64 bit Platforms will at least support enable/disable safemode service 2020-01-28 23:57:48 -08:00
Bryan Roe
3bcdb51656 1. Added ability to specify msh flags on command line 2020-01-28 23:48:05 -08:00
Bryan Roe
9deab670d3 Removed debug message 2020-01-28 15:05:45 -08:00
Bryan Roe
140363a80e Added 'idleTimeout' readonly property to 'MeshAgent' 2020-01-28 12:23:47 -08:00
Bryan Roe
bbe2c92817 Added 'timeout' event to websocket
Added 'setTimeout' method to websocket
2020-01-28 12:23:05 -08:00
Bryan Roe
619d52fe6b Fixed possible crash that could occur in DataChannel close event handler 2020-01-28 12:22:34 -08:00
Bryan Roe
8265cafbdb Added event_forwarder helper 2020-01-28 12:21:59 -08:00
Bryan Roe
3c7d5effb2 1. Added pty and tcsetsize to child_process
2. Added ILibProcessPipe_Process_GetPTY to ILibProcessPipe
2020-01-27 17:08:45 -08:00
Bryan Roe
a5e30ab2c6 Fixed compiler warning 2020-01-24 22:42:29 -08:00
Bryan Roe
310e5c86c6 Added 'isSafeModeService' helper MeshCentral_v0.4.7-o 2020-01-21 15:45:11 -08:00
Bryan Roe
384cbd411d Fixed edge case bug, where HTTP body fragment could get written to stream without acknowledging it, at the start of the response, which could result in the bodystream having a single duplicate fragment. 2020-01-21 13:27:45 -08:00
Ylian Saint-Hilaire
cc3fe1461e Fixed TLS 1.3 state machine. 2020-01-20 22:49:10 -08:00
Bryan Roe
90888b711f Added scriptVersion helper 2020-01-16 22:48:21 -08:00
Bryan Roe
a9ef6d0f61 1. Fixed detached processes on Windows
2. Updated service-manager on Windows to add an uninstaller into Program Manager
3. Updated service-manager on Windows to try to delay spawn a process to delete a service, which is required if the service to be uninstalled is the currently running process.
2020-01-15 14:53:12 -08:00
Bryan Roe
c02344373c Updated Windows clipboard to use UTF8 encoded strings 2020-01-14 10:34:04 -08:00
Bryan Roe
cefe8bffba Added '-licenses' command line switch to view licenses 2020-01-10 16:53:53 -08:00
Bryan Roe
c2f265942c Fixed formatting on FreeBSD and MacOS 2020-01-10 15:52:48 -08:00
Bryan Roe
29e6775b72 updated process-manager to include 'user' on FreeBSD and MacOS 2020-01-10 15:28:02 -08:00
Bryan Roe
364bc1e836 1. Fixed bug in log entry that showed HEX string instead of Connection URI
2. Added 'ServerIP' property to MeshAgent
2020-01-10 14:38:53 -08:00
Bryan Roe
7c1c9384ce 1. Updated windows, so returns user
2. Updated linux to not truncate command
2020-01-10 12:18:08 -08:00
Bryan Roe
a314f85c00 Fixed #ifdef problem 2020-01-09 14:05:34 -08:00
Bryan Roe
981ee96ad7 1. Updated GenericMarshal.GlobalCallback to have a close() method, to unhook global events
2. Updated EventEmitter to delete callback references for 'once', 'removeListener', and 'removeAllListeners'
3. Updated win-message-pump to cleanup global events correctly, so object can be garbage collected
2020-01-09 13:57:23 -08:00
Bryan Roe
eb257198e3 Fixed bug in Windows KVM, where certain error conditions when fetching desktop buffer, returned a success instead of an error, potentially causing a segfault 2020-01-09 13:54:02 -08:00
Bryan Roe
85b487631a Updated, so if dispatch specified without user, checks to see if current user is TSID 0, and sets SYSTEM if so. 2020-01-08 09:52:28 -08:00
Bryan Roe
36d1362deb 1. Updated win-dispatcher to support dispatching to current user
2. Updated win-virtual-terminal.js to correctly use ClosePseudoConsole()
2020-01-07 14:49:33 -08:00
Bryan Roe
65f3fd5910 Added _exposedMethod helper property 2020-01-07 14:48:31 -08:00
Bryan Roe
b944c3418d Removed code that writes hardcoded value for 'EstimatedSize'. This will get set by meshcore.js 2020-01-06 11:03:15 -08:00
Bryan Roe
8133e2481f Fixed compiler warning 2019-12-23 16:08:09 -08:00
Bryan Roe
4998eb173f Fixed edge case bug on Windows, where a Resume could result in ReadFile getting called before getOverlappedResult was called, corrupting the read buffer. 2019-12-23 17:11:12 -08:00
Bryan Roe
c758c3ded9 Updated, so KVMSlave logging works on Windows 2019-12-23 17:10:12 -08:00
Bryan Roe
235ef4ab21 Fixed HECI linker issue 2019-12-23 10:46:57 -08:00
Bryan Roe
d0edd23fd4 update debugGC() to only call gc once instead of twice, because the context can get collected after the first call. MeshCentral_v0.4.5-u 2019-12-13 09:45:52 -08:00
Bryan Roe
0a5c7fd8ba 1. added .msh flag for debug
2. Fixed Windows Crash that could occur on shutdown
2019-12-12 11:56:02 -08:00
Bryan Roe
9661c15bc9 1. added .msh flag for HECI debug
2. Fixed _GenericMarshal crash on Windows if GlobalCallback is executed after GC
2019-12-12 10:48:50 -08:00