1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-22 11:13:21 +00:00
Commit Graph

71 Commits

Author SHA1 Message Date
Bryan Roe
373b0b424d Fixed memory leaks with Metadata string on Windows IPC socket, and overlapped data structure 2022-08-09 15:15:46 -07:00
Bryan Roe
9db6752aaa Added Memory Helper macros for Legacy usage 2022-07-08 12:03:24 -07:00
Bryan Roe
ab94c03594 Updated threading rules of ILibLifeTime_Remove() 2022-06-27 12:29:51 -07:00
Ylian Saint-Hilaire
7adf0dddd4 Updated headers. 2022-02-04 14:43:55 -08:00
Bryan Roe
2274477316 changed default max log size to 512kb 2022-01-06 19:09:37 -08:00
Bryan Roe
1f82c971ba 1. ILibAppendStringToDiskEx2: Added max size capability
2. Added ability to specify max error log size
3. Added MeshAgent.maxLogSize readonly property
4. Removed dead code from input.c
2022-01-06 16:40:40 -08:00
Bryan Roe
0420400920 1. Updated Logging capability
2. Updated Windows unwindhandler() to delete HANDLE when signaled
2021-11-22 11:44:27 -08:00
Bryan Roe
05b492caed Added Error Log parsing capability 2021-04-13 18:06:15 -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
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
704edbb802 Updated metadata 2021-01-28 02:11:05 -08:00
Bryan Roe
4be310f809 Added tracker 2021-01-23 00:44:52 -08:00
Bryan Roe
78507ed66e 1. Updated self-update logging to include current commit hash value
2. Updated child_process.waitExit() to throw an exception on empty set condition
3. Updated ILibChain_Continue() to exit while() loop on empty set
4. Updated agent-installer to better handle error conditions for updatervalue and meshservicename
2021-01-13 11:13:37 -08:00
Bryan Roe
cd6353ac28 Updated ILibLinkedList verification checks 2020-12-10 13:54:08 -08:00
Bryan Roe
a60c35d161 Added timer metadata for setInterval() elapsed/reset 2020-12-10 09:52:59 -08:00
Bryan Roe
ddc766be08 Added ability to track timers 2020-12-09 23:17:15 -08:00
Bryan Roe
462fa965ae Fixed spinlocks for ARCHID 7,9,13 2020-12-06 00:33:39 -08:00
Bryan Roe
af3a184696 Added system language query to Windows Service Installer 2020-12-01 14:48:59 -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
cb131ae141 Updated timing logic for remote keyboard input 2020-11-20 11:10:24 -08: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
01bae0f5e5 1. Fixed compiler warning
2. Updated chain, so that thread id is saved at creation time
3. Updated Make_AbsolutePath() per IOActive
2020-10-13 16:44:38 -07:00
Bryan Roe
73b1d5e77c Converted atoi to safer alternative 2020-09-24 15:50:27 -07:00
Bryan Roe
8cdcfcb187 Addressed Checkmarx issues 2020-09-17 12:59:15 -07:00
Bryan Roe
9890200f25 Added MIPS24KC (OpenWRT) Support 2020-08-19 17:40:34 -07:00
Bryan Roe
67fc6c54b1 Addressed IOActive issues 2020-07-15 01:24:56 -07:00
Bryan Roe
8dc669699e Added mitigation for signal handling with vfork 2020-07-07 17:05:47 -07:00
Bryan Roe
ba8e43b47c 1. Fixed integer overflow detection for 32 bit
2. Fixed compiler warning
2020-06-30 10:58:59 -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
10a9e7226e 1. Added support for UTF8 wnvironment variables for window's child_process
2. Updated message-box and toaster to support UTF8 on Windows
2020-06-09 19:37:37 -07:00
Bryan Roe
9e6387599a Added ILibChain_ReadAndSaveStateEx()
Updated Windows IPC Socket, so client connection uses ReadAndSaveState, to start in paused state.
2020-05-29 00:02:59 -07:00
Bryan Roe
a7b30fb729 Updated metadata 2020-05-22 12:18:46 -07:00
Bryan Roe
32935e0102 Updated metadata handling 2020-05-22 00:27:01 -07:00
Bryan Roe
383c19f5fe 1. Updated metadata
2. Fixed compiler warning
2020-05-21 19:06:05 -07:00
Bryan Roe
dd216efbe8 Updated metadata 2020-05-21 13:20:42 -07:00
Bryan Roe
655e607e01 Fixed #ifdef 2020-05-20 13:14:39 -07:00
Bryan Roe
16a2f437c3 Added ability to Save/Restore handle wait state
Fixed edge case that could cause a connection to resume twice
2020-05-20 12:05:38 -07:00
Bryan Roe
f2d63ea116 Updated metadata for descriptor tracking 2020-05-19 17:21:07 -07:00
Bryan Roe
56cc4c1328 Improved descriptor tracking 2020-05-19 14:47:52 -07:00
Bryan Roe
72ca73dd3d Added ability to fetch handle count 2020-05-19 10:11:59 -07:00
Bryan Roe
97ad48f2f2 1. Added ILibChain_WriteEx()
2. Updated ILibChain_Continue() on windows to take an optional list of HANDLE**
3. Updated net.socket IPC on Windows  to use ILibChain_ReadEx and ILibChain_WriteEx
4. Fixed child_process.waitExit() on windows to pass only the wait handles for the process
5. Added GetWaitHandles() to ILibProcessPipe
2020-05-15 17:25:49 -07:00
Bryan Roe
a4c5430879 Updated windows path to use ReadEx when overlapped is supported 2020-05-09 11:02:16 -07:00
Bryan Roe
969909cca7 Updated WriteEx 2020-05-05 02:00:07 -07:00
Bryan Roe
1bd4e3d07c Updated Windows Chain logic, to use WSAEventSelect and WaitForMultipleObjectsEx 2020-05-04 17:25:55 -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
6cfd62ed42 1. Added sem_timedwait to macos
2. Added Workaround for pthread_timedjoin_np() for macos
2020-04-21 16:22:39 -07:00
Bryan Roe
28db019101 1. Added ability to spawn joinable threads on linux
2. Added ILibThread_TimedJoin()
2020-04-20 21:51:55 -07:00
Bryan Roe
71d4b1edca 1. Fixed compiler warnings
2. Updated thread cleanup/finalizer logic to rely on ctxd if necessary
2020-04-20 17:01:53 -07:00