1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2026-01-30 00:03:39 +00:00

Commit Graph

  • 5f1656b0ba 1. Unified uncaughtException exception processing 2. updated promise, so uncaughtRejection emits an uncaughtException Bryan Roe 2020-02-06 18:57:18 -08:00
  • 937ae3b5d2 Added pid check for forkpty() initialization MeshCentral_v0.4.8-p Bryan Roe 2020-02-05 13:07:56 -08:00
  • ee10dbeb17 Fixed #include for FreeBSD Bryan Roe 2020-02-05 11:13:25 -08:00
  • 91ec72b34d Fixed #include for FreeBSD/MacOS Bryan Roe 2020-02-05 11:04:09 -08:00
  • afe0deacb2 Fixed bug where interactive shell was redirecting stderr Bryan Roe 2020-02-04 17:15:51 -08:00
  • 32592bd622 1. Updated environment variables, so that string values are coerced 2. Added ability to specify termios struct values via environment variables Bryan Roe 2020-02-04 15:23:52 -08:00
  • 052c3d5414 Fixed windows notifications so they work, if the message contains ' characters MeshCentral_v0.4.8-i Bryan Roe 2020-01-31 10:43:00 -08:00
  • cdb7f4cfc0 Fixed bug where Windows GetClipboard was getting wrong length when UTF8 Bryan Roe 2020-01-31 09:52:10 -08:00
  • d690d24c89 added 'resizeTerminal' method MeshCentral_v0.4.8-g Bryan Roe 2020-01-30 10:35:54 -08:00
  • 2e04da2fc7 Fixed bug in Windows IPC Socket, where paused stream was not resumed when you hooked the 'end' event Bryan Roe 2020-01-30 10:35:28 -08:00
  • 0bbc0d8f66 Added ability to dispatch method invocations on remote stream Bryan Roe 2020-01-30 10:34:38 -08:00
  • e8d263a816 Added missing code to set hostname Bryan Roe 2020-01-29 11:47:20 -08:00
  • 80547a5da5 Fixed invalid length Bryan Roe 2020-01-29 11:14:39 -08:00
  • 8fadf4b5bc Removed code that was supposed to be removed Bryan Roe 2020-01-29 10:26:30 -08:00
  • 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 Bryan Roe 2020-01-29 10:09:01 -08:00
  • 1d9908f944 Fixed warnings Bryan Roe 2020-01-29 09:29:21 -08:00
  • 726fdf2bd6 Updated, so 32 bit on 64 bit Platforms will at least support enable/disable safemode service Bryan Roe 2020-01-28 23:57:48 -08:00
  • 3bcdb51656 1. Added ability to specify msh flags on command line Bryan Roe 2020-01-28 23:48:05 -08:00
  • 9deab670d3 Removed debug message Bryan Roe 2020-01-28 15:05:45 -08:00
  • 140363a80e Added 'idleTimeout' readonly property to 'MeshAgent' Bryan Roe 2020-01-28 12:23:47 -08:00
  • bbe2c92817 Added 'timeout' event to websocket Added 'setTimeout' method to websocket Bryan Roe 2020-01-28 12:23:05 -08:00
  • 619d52fe6b Fixed possible crash that could occur in DataChannel close event handler Bryan Roe 2020-01-28 12:22:34 -08:00
  • 8265cafbdb Added event_forwarder helper Bryan Roe 2020-01-28 12:21:59 -08:00
  • 3c7d5effb2 1. Added pty and tcsetsize to child_process 2. Added ILibProcessPipe_Process_GetPTY to ILibProcessPipe Bryan Roe 2020-01-27 17:08:45 -08:00
  • a5e30ab2c6 Fixed compiler warning Bryan Roe 2020-01-24 22:42:29 -08:00
  • 310e5c86c6 Added 'isSafeModeService' helper MeshCentral_v0.4.7-o Bryan Roe 2020-01-21 15:45:11 -08:00
  • 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. Bryan Roe 2020-01-21 13:27:45 -08:00
  • cc3fe1461e Fixed TLS 1.3 state machine. Ylian Saint-Hilaire 2020-01-20 22:49:10 -08:00
  • 90888b711f Added scriptVersion helper Bryan Roe 2020-01-16 22:48:21 -08:00
  • 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. Bryan Roe 2020-01-15 14:53:12 -08:00
  • c02344373c Updated Windows clipboard to use UTF8 encoded strings Bryan Roe 2020-01-14 10:34:04 -08:00
  • cefe8bffba Added '-licenses' command line switch to view licenses Bryan Roe 2020-01-10 16:53:53 -08:00
  • c2f265942c Fixed formatting on FreeBSD and MacOS Bryan Roe 2020-01-10 15:52:48 -08:00
  • 29e6775b72 updated process-manager to include 'user' on FreeBSD and MacOS Bryan Roe 2020-01-10 15:28:02 -08:00
  • 364bc1e836 1. Fixed bug in log entry that showed HEX string instead of Connection URI 2. Added 'ServerIP' property to MeshAgent Bryan Roe 2020-01-10 14:38:53 -08:00
  • 7c1c9384ce 1. Updated windows, so returns user 2. Updated linux to not truncate command Bryan Roe 2020-01-10 12:18:08 -08:00
  • a314f85c00 Fixed #ifdef problem Bryan Roe 2020-01-09 14:05:34 -08:00
  • 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 Bryan Roe 2020-01-09 13:57:23 -08:00
  • 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 Bryan Roe 2020-01-09 13:54:02 -08:00
  • 85b487631a Updated, so if dispatch specified without user, checks to see if current user is TSID 0, and sets SYSTEM if so. Bryan Roe 2020-01-08 09:52:28 -08:00
  • 36d1362deb 1. Updated win-dispatcher to support dispatching to current user 2. Updated win-virtual-terminal.js to correctly use ClosePseudoConsole() Bryan Roe 2020-01-07 14:49:33 -08:00
  • 65f3fd5910 Added _exposedMethod helper property Bryan Roe 2020-01-07 14:48:31 -08:00
  • b944c3418d Removed code that writes hardcoded value for 'EstimatedSize'. This will get set by meshcore.js Bryan Roe 2020-01-06 11:03:15 -08:00
  • 8133e2481f Fixed compiler warning Bryan Roe 2019-12-23 16:08:09 -08:00
  • 4998eb173f Fixed edge case bug on Windows, where a Resume could result in ReadFile getting called before getOverlappedResult was called, corrupting the read buffer. Bryan Roe 2019-12-23 17:11:12 -08:00
  • c758c3ded9 Updated, so KVMSlave logging works on Windows Bryan Roe 2019-12-23 17:10:12 -08:00
  • 235ef4ab21 Fixed HECI linker issue Bryan Roe 2019-12-23 10:46:57 -08:00
  • 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 Bryan Roe 2019-12-13 09:45:52 -08:00
  • 0a5c7fd8ba 1. added .msh flag for debug 2. Fixed Windows Crash that could occur on shutdown Bryan Roe 2019-12-12 11:56:02 -08:00
  • 9661c15bc9 1. added .msh flag for HECI debug 2. Fixed _GenericMarshal crash on Windows if GlobalCallback is executed after GC Bryan Roe 2019-12-12 10:48:50 -08:00
  • 286075832a Fixed canary in ILibDuktape_HECI_IoctlHandler_Dispatch() Ylian Saint-Hilaire 2019-12-10 17:52:00 -08:00
  • dc3e49d12c Added Windows 32bit support for movable connection bar Bryan Roe 2019-12-10 14:39:52 -08:00
  • 7c5075b481 Updated notifybar on Windows, to allow moving on the X-axis within monitor bounds Bryan Roe 2019-12-10 13:37:52 -08:00
  • 29bd710972 Updated GetIntProperty to treat null/undefined as non-existant Bryan Roe 2019-12-09 15:03:58 -08:00
  • 0e3280a5da Updated toaster on windows to support multiple TSIDs Bryan Roe 2019-12-09 12:47:51 -08:00
  • 09666e0bc8 Capped max size of SMBIOS results Bryan Roe 2019-12-09 10:46:46 -08:00
  • d9af17e2c9 Updated notifybar-desktop to support setting TSID on Windows Bryan Roe 2019-12-06 15:38:32 -08:00
  • b0903fec7b Added ability to support multiple TSID on Windows KVM Bryan Roe 2019-12-06 15:06:22 -08:00
  • 0bfe380682 Added Canary Check to KVM WriteSink Bryan Roe 2019-12-06 11:38:24 -08:00
  • e85d00e3e0 Updated code comment Bryan Roe 2019-12-05 14:54:53 -08:00
  • 397bab48c7 uncommented code to hide dispatched window Bryan Roe 2019-12-05 14:46:48 -08:00
  • 807f477468 added 'showModuleNames' msh flag, to show module loads Bryan Roe 2019-12-05 14:45:56 -08:00
  • 4a2bc80d2e Fixed Windows IPC Read, to unroll completion callback, before dispatching Fixed edge case bug where stack wasn't popped correctly for IPC Write Bryan Roe 2019-12-05 14:45:07 -08:00
  • 8356cbf190 Added missing #ifdef around Windows Specific fixes Bryan Roe 2019-12-05 10:56:13 -08:00
  • eced5f2233 initial add for helper for Windows to dispatch javascript to a user session Bryan Roe 2019-12-04 15:01:07 -08:00
  • 0f40f9092e 1. Fixed IPC cleanup on domain sockets for Windows 2. Fixed readableStream, so 'end' is still emitted when piped Bryan Roe 2019-12-04 15:00:15 -08:00
  • 0cb668d0af Merge branch 'master' of https://github.com/Ylianst/MeshAgent Bryan Roe 2019-12-03 12:28:47 -08:00
  • cb0f43e17e Fixed unshift logic for IPC socket Bryan Roe 2019-12-03 12:27:06 -08:00
  • b2522cd283 Fixed bug where _read() was defined after stream creation Bryan Roe 2019-12-03 12:26:34 -08:00
  • 1b38405352 Updated stream.Duplex, so _read, _write, _final are readonly Bryan Roe 2019-12-03 12:25:30 -08:00
  • 37acfa64f0 Fixed windows race condition between garbage collecting spawned process and exit handler, if the memory was reclaimed at just the right time MeshCentral_v0.4.5-b Bryan Roe 2019-11-28 09:57:04 -08:00
  • 8ece5d4cbd change_1 APC_Revamp Bryan Roe 2019-11-27 15:20:31 -08:00
  • 847bb0aeb0 Updated DescriptorEvents to not use APC Bryan Roe 2019-11-26 16:04:49 -08:00
  • 06e08d809a integrated proxy-helper Bryan Roe 2019-11-26 15:17:01 -08:00
  • c89e54cc3f Autogenerated Bryan Roe 2019-11-26 15:11:54 -08:00
  • 1a26a65830 Merge branch 'master' of https://github.com/Ylianst/MeshAgent Bryan Roe 2019-11-26 15:10:01 -08:00
  • 83f4ce5ae5 Updated DescriptorEvents to support WaitHandles Bryan Roe 2019-11-26 15:09:11 -08:00
  • 08f16016d9 Fixed connection handling Bryan Roe 2019-11-26 15:08:40 -08:00
  • 29b21bcdef Added Canary to HECI_IoctlHandler() Ylian Saint-Hilaire 2019-11-26 14:53:31 -08:00
  • 170536b267 Fixed win-virtual-terminal for minification. Ylian Saint-Hilaire 2019-11-26 11:09:12 -08:00
  • 4222bb0294 Added Start(), StartPowerShell(), and PowerShellCapable, to match old API Bryan Roe 2019-11-26 10:29:57 -08:00
  • 975c4c6029 1. Added proxy-helper to assist with exception checking 2. Added win-virtual-terminal, to support MSFT's new ConPTY API. Bryan Roe 2019-11-26 10:21:53 -08:00
  • 1c64223b1b Updated 'CreateVariable' so you can pass in a buffer Bryan Roe 2019-11-26 10:20:17 -08:00
  • 552833170e added '_isBuffer()' helper Bryan Roe 2019-11-26 10:19:35 -08:00
  • 3342871bc5 Fixed compiler warning Bryan Roe 2019-11-25 17:37:31 -08:00
  • 58e9d3f24d Fixed bug, where pgrep was initialized on Win32 Bryan Roe 2019-11-21 14:46:59 -08:00
  • bca47688ff 1. Added 'global' polyfill 2. Updated service-manager in Native and JS, to add '_installedBy' on Windows Bryan Roe 2019-11-20 14:41:22 -08:00
  • e68d0cc7c5 Polyfilled some helper methods in ip-address.Address4 Bryan Roe 2019-11-20 10:53:08 -08:00
  • ac2f7ec00b updated getProxySettings() to include exceptions array Bryan Roe 2019-11-19 14:15:17 -08:00
  • 7c0fe9947c 1. Updated getProcess/getProcessEx to return an array 2. Updated setDesktopWallpaper, to check uid of gnome-session Bryan Roe 2019-11-14 17:55:33 -08:00
  • dfcfc91df3 Added 'getProcessEx()' to process-manager Bryan Roe 2019-11-14 16:38:54 -08:00
  • 895ff6be15 1. Added 'getProcess' to process-manager for posix platforms with pgrep 2. Fixed parsing bug in user-sessions.getEnvFromPid 3. Updated linux-gnome-helpers to set environment and uid before calling gsettings Bryan Roe 2019-11-14 15:19:27 -08:00
  • 0333f124ae Updated to support wallpaper changes with gsettings Bryan Roe 2019-11-14 11:28:02 -08:00
  • cc59f186ca Updated usernameToUserKey() to support non-local accounts Bryan Roe 2019-11-05 13:58:14 -08:00
  • 9a84f82a50 1. Added usernameToUserKey() to win-registry 2. Added getRawSessionAttribute() to user-sessions for Windows Bryan Roe 2019-11-05 13:35:49 -08:00
  • 6e9b165452 added _type property when querying registry value if the type is unknown. Bryan Roe 2019-11-05 11:28:42 -08:00
  • 4e9ac4a1d2 Added ability to query default value Bryan Roe 2019-11-05 10:17:07 -08:00
  • bac3533d29 Added missing #ifdef Bryan Roe 2019-10-31 10:59:46 -07:00
  • dd095e5264 Updated windows message-box to use topmost instead of foreground Bryan Roe 2019-10-30 15:31:18 -07:00
  • 6b8b25ebf9 1. Updated so global events are unhooked when done 2. Updated so fake window is destroyed when done Bryan Roe 2019-10-30 14:40:25 -07:00