1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-16 08:13:30 +00:00
Commit Graph

52 Commits

Author SHA1 Message Date
Bryan Roe
36681dbbf8 1. Fixed bug where global-tunnel.end() didn't clear the proxy
2. Broke infinite loop that could occur with circular referenced list
3. Added NULL check
2022-06-23 01:33:03 -07:00
Bryan Roe
332d8e6297 Added missing memory check 2022-04-02 10:41:04 -07:00
Bryan Roe
85ef080a86 1. Added console.log/info helper
2. Fixed bug with user-sessions adding virtual uids incorrectly
2022-03-16 23:04:22 -07:00
Bryan Roe
6030154d94 1. Updated Helper method for console.log to implement info1 & info2
2. Added more logging to WebRTC
3. Fix edge case when piping RTC DataChannel could result in 100% CPU utilization
2022-03-07 19:09:44 -08:00
Ylian Saint-Hilaire
7adf0dddd4 Updated headers. 2022-02-04 14:43:55 -08: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
08d08307a4 Updated Helper Methods 2021-05-17 10:54:01 -07:00
Bryan Roe
f8f657d730 Fixed enumerability of Array polyfill methods 2021-02-18 11:24:10 -08:00
Bryan Roe
da756d6b7f Added new reference mode for EventEmitter 2021-02-18 01:51:52 -08: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
6df48effc3 Updated some properties of MeshAgent object to be enumerable 2021-02-05 19:56:34 -08:00
Bryan Roe
a728ba40de Added NULL checks 2021-01-26 13:47:20 -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
600758ff8d Fixed uninititalized value 2020-09-24 09:55:48 -07:00
Bryan Roe
8cdcfcb187 Addressed Checkmarx issues 2020-09-17 12:59:15 -07:00
Bryan Roe
1ffe14f22c 1. Added DynamicBuffer support
2. Changed MemoryStream to use DynamicBuffer instead of native buffer, fixing smbios issue on linux
2020-08-07 10:40:52 -07:00
Bryan Roe
518a304bfc 1. Modified when process.exit event is emitted, so that it emits before any objects are finalized
2. Added process.exitting property that returns true if runtime is in process of exitting
2020-07-30 11:00:02 -07:00
Bryan Roe
9f09abdbcd Updated EventEmitter to use JS data structure instead of native 2020-07-28 15:17:37 -07:00
Bryan Roe
922da3c9cc Rev1 support for executing zip files from command line 2020-06-17 23:51:30 -07:00
Bryan Roe
432c0d2585 Added username/password parsing ability to http.parseUri() 2020-06-05 18:58:33 -07:00
Bryan Roe
9682464cb6 1. fixed #def issue
2. Added Virtual Machine  detection
2020-04-24 16:06:59 -07:00
Bryan Roe
de24ee7543 Fixed edge case bug, where EventLoopThread could be momentarily stalled on exit, on windows 2020-04-24 14:22:13 -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
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
f3656bebff Simplified memory allocation for PushWideString 2020-02-12 14:42:05 -08:00
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
29bd710972 Updated GetIntProperty to treat null/undefined as non-existant 2019-12-09 15:03:58 -08:00
Bryan Roe
da6cf39dd2 Added 'index' to networkInterfaces() on windows
Added missing #define
Added IPAddress helper
2019-09-08 19:30:31 -07:00
Bryan Roe
31ccab899a Added ability to get/set rlimits on non windows platforms 2019-08-27 14:05:08 -07:00
Bryan Roe
ede1ed71d5 Added UTF8 helper method that puts the string on the stack 2019-08-26 14:15:43 -07:00
Bryan Roe
b9f18b9897 Added CreateFinalizerEx, where you can specify 'singleton' which clears any previously defined finalizers 2019-05-01 16:12:25 -07:00
Bryan Roe
e9676388ec Fixed bug, where cguid was set whenever agent was connected, rather than only for agent db 2019-03-05 14:58:49 -08:00
Bryan Roe
adbff6baf8 1. Added Buffer helper method
2. Added Certificate helper method
2019-03-02 19:27:39 -08:00
Bryan Roe
d491aeb98f Added NULL check on uncaught exceptions 2019-02-12 17:56:27 -08:00
Bryan Roe
bfce186759 Updated Duktape_GetBuffer(), so if the object is null or undefined, it returns NULL instead of throwing an exception 2019-02-12 16:54:04 -08:00
Bryan Roe
82fc208e8b Fixed valgrind issue 2019-01-22 16:28:36 -08:00
Bryan Roe
f36bd6f8e0 Added native Timeout helper 2019-01-18 22:45:11 -08:00
Bryan Roe
d64dfb5504 Fixed compiler warnings on some toolchains 2019-01-18 16:02:00 -08:00
Bryan Roe
694108d245 Moved pragma to satisfy some toolchains 2019-01-18 15:52:58 -08:00
Bryan Roe
335ff51bfe Removed reference to unused files 2019-01-17 22:09:17 -08:00
Bryan Roe
3612e45cef Fixed compiler warning on GCC related to duktape specific issue 2019-01-17 21:56:34 -08:00
Bryan Roe
24d97b3b34 Added GetBuffer helper 2019-01-11 12:22:57 -08:00
Ylian Saint-Hilaire
3c80473a94 Major agent update. 2018-09-05 11:01:17 -07:00
Ylian Saint-Hilaire
4b5c77b4fd Many improvements. 2018-02-11 21:11:58 -08:00
Ylian Saint-Hilaire
508646044e Much improved, better stability, lots of fixes 2018-01-12 11:50:04 -08:00
Ylian Saint-Hilaire
becf71557f Improved agent that can update the MeshCentral1 agent 2017-11-09 16:07:39 -08:00