1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-11 05:43:33 +00:00
Commit Graph

127 Commits

Author SHA1 Message Date
Bryan Roe
7ea36ae572 1. Added -import
2. Added ability to set uid on agent start
2023-01-20 13:06:15 -08:00
Bryan Roe
545a176b7d Added #ifdef to fix compiler error on non windows platforms 2022-10-31 17:23:54 -07:00
Bryan Roe
0520e66dc6 Fixed bug where if ScriptContainer is GC, it did not unhook events, which could result in a crash if the event was dispatched after cleanup 2022-10-31 15:22:39 -07:00
Bryan Roe
4e8aa9e782 Fixed bug with ScriptContainer JSON dispatcher, that caused the child to crash 2022-07-12 18:35:49 -07:00
Bryan Roe
b493da68e4 Fixed bug on Linux Agent, where a service stop, didn't gracefully shutdown the agent. Modified so that SIGTERM is caught, and causes the agent to gracefully shutdown. This change made it so the clipboard cleanup code could correctly run. 2022-06-30 01:23:29 -07:00
Bryan Roe
460fb89851 1. Fixed process.stdin for POSIX
2. Added support for console.echo and console.canonical
2022-06-17 21:07:02 -07:00
Bryan Roe
a9c4c456bc 1. Integrated basic autoproxy support
2. Fixed autoproxy related crash on linux
2022-06-13 22:54:08 -07:00
Ylian Saint-Hilaire
7adf0dddd4 Updated headers. 2022-02-04 14:43:55 -08:00
Bryan Roe
9ecb0ad760 Added work-around for when WMI repository is corrupt/damaged 2022-01-30 22:15:04 -08:00
Bryan Roe
b74d71b989 Updated Windows Info to include friendly BuildVersion, ie 21H1. 2022-01-26 10:08:07 -08:00
Bryan Roe
20312bf5d6 1. Fixed compiler warnings for PAC related code
2. Updated clipboard helper, to fix compiler warning in generated code
3. Updated message-box to sanitize input values to prevent possible exploit
2022-01-03 19:22:14 -08:00
Bryan Roe
3a10fa34d2 1. Fixed error case of Resolve()
2. Added 'resolve' support
3. Added new testharnass interface
4. Added clipboard support for PAC/Autoproxy helper
5. Added autoproxy sandbox
2021-12-20 23:12:26 -08:00
Bryan Roe
acedf0890d Updated process.kill on windows to use Open/Terminate 2021-11-16 00:34:54 -08:00
Bryan Roe
794960350f Updated os.Name to use wmi instead of registry, because recent versions of windows no longer populates the registry keys correctly 2021-11-02 21:37:12 -07:00
Bryan Roe
9dae27184c Updated OpenBSD 2021-08-30 12:39:04 -07:00
Bryan Roe
67a949207f Updated for OpenBSD 2021-08-30 12:06:36 -07:00
Bryan Roe
b496e192d9 Updated os.arch() to detect aarch64 2021-08-29 10:51:59 -07:00
Bryan Roe
670ffc1838 Updated os.arch() on macOS to differentiate Apple and Intel Silicon when running under Rosetta 2021-08-26 16:40:35 -07:00
Bryan Roe
8fdbdb9f4b Fixed bug with os.arch() on FreeBSD 2021-08-26 13:51:13 -07:00
Bryan Roe
7820ef25ba 1. Updated module search to use JS lookup table
2. Fixed bug in proxy failure fallback logic
2021-07-27 19:07:34 -07:00
Bryan Roe
5c18c4ac01 1. Added logging for Windows Cert Store Error cases
2. Added db corruption detection
2021-04-08 23:34:10 -07:00
Bryan Roe
55f0f91587 Updated Garbage Handling 2021-02-17 01:00:21 -08:00
Bryan Roe
ebf06898b2 1. Fixed valgrind issue
2. Updated child_process, to now have back-parent pointer on completion
2021-02-16 21:59:48 -08:00
Bryan Roe
71b5e588c3 1. Updated to duktape 2.6.0
2. Added support for execution timeout
2021-02-16 15:10:28 -08:00
Bryan Roe
9d2fe9b2b0 Fixed edge case bug where childprocess.waitExit() called during promise.waitExit() would cause event loop to prematurely exit. 2021-02-15 22:57:46 -08:00
Bryan Roe
e5418181c3 1. Fixed bug with process.cwd() on windows when the cwd is a root level folder
2. Added process.chdir()
3. Updated child_process._execve() to use process.env if not specified
4. Updated service manager to work better with docker container
2021-02-10 20:25:46 -08:00
Bryan Roe
40c6957e45 1. Updated selfTest for Linux
2. Fixed edge case crash in ILibChain_Continue()
2021-02-09 18:04:32 -08:00
Bryan Roe
766b4e9df0 Fixed bug where promise.wait() would timeout if called after already settled 2021-02-05 15:21:15 -08:00
Bryan Roe
5ed2a792f5 Removed errant parameter 2021-02-05 14:55:52 -08:00
Bryan Roe
c219db858d Added #ifdef around Windows specific method call 2021-02-05 14:53:37 -08:00
Bryan Roe
c41b7195c6 1 Updated Windows Self update, to attempt to kill zombie processes
2. Added promise.wait()
2021-02-05 14:47:11 -08:00
Bryan Roe
8290c63552 Improved signal handling on linux, to support all standard signals. 2021-01-28 10:24:45 -08:00
Bryan Roe
e739ae4191 Added dns query support 2021-01-26 11:46:11 -08:00
Bryan Roe
4daedfd081 Added ability to compile for FIPS mode 2021-01-21 20:13:15 -08:00
Bryan Roe
f7dd29ed65 Fixed 64k limit of Master->Slave buffer 2021-01-20 00:32:50 -08:00
Bryan Roe
0800c45c12 1. Fixed bug in linux os.arch()
2. Added MeshAgent.ARCHID
2021-01-14 01:20:13 -08:00
Bryan Roe
5c1b44e749 Fixed memory leak 2020-12-18 10:42:04 -08:00
Bryan Roe
f02fbd7d21 updated os.arch() for Apple Silicon 2020-12-07 18:35:08 -08:00
Bryan Roe
dfaf7909b3 Fixed issue related to Apple Silicon 2020-12-07 18:00:17 -08:00
Bryan Roe
77834337fd 1. Fixed process HANDLE leak on windows
2. Replaced semaphore with spinlock on event emitter object.
2020-11-26 11:30:23 -08:00
Bryan Roe
d5a2c078be Added 'mips' and 'mipsel' to os.arch() 2020-11-11 16:39:15 -08:00
Bryan Roe
1ec352f96b updated process.versions 2020-11-10 23:07:56 -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
ef307c7843 Fixed 32 bit compiler warnings, and fixed bug where serviceName could be undefined 2020-11-10 02:08:06 -08:00
Bryan Roe
7ae97b3a7d Fixed crash on self-update, caused by IOActive fix on posix 2020-10-17 13:35:11 -07:00
Bryan Roe
d895d92e07 Added helper method to securely scrub memory 2020-10-16 18:48:25 -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
73b1d5e77c Converted atoi to safer alternative 2020-09-24 15:50:27 -07:00
Bryan Roe
3f4e5df9a2 Fixed formatting in error message 2020-09-17 14:53:28 -07:00
Bryan Roe
c9e42cae2c Changed write to printf 2020-09-17 14:49:43 -07:00