1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-13 06:43:42 +00:00
Commit Graph

96 Commits

Author SHA1 Message Date
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
Bryan Roe
9e2d0eda91 Added more descriptive error message for FreeBSD when procfs is not mounted 2020-09-17 14:47:33 -07:00
Bryan Roe
105ff1dcb4 Fixed byte order when parsing gatway address on BigEndian platforms 2020-08-21 23:45:23 -07:00
Bryan Roe
2278a1cc35 added daemon helper 2020-08-19 21:43:16 -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
67fc6c54b1 Addressed IOActive issues 2020-07-15 01:24:56 -07:00
Bryan Roe
70593e995b 1. added os.endianness
2. added os.uptime()
3. added bignum property support to _GenericMarshal.Variable
2020-07-11 01:34:33 -07:00
Bryan Roe
4728330c5e Fixed some warnings 2020-07-08 16:07:04 -07:00
Bryan Roe
f2cbf1f10d Updated LoadLibrary() to specify system32 path only 2020-07-06 18:46:48 -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
c3ad70a70e Added ZLIB Compression Support 2020-06-13 21:57:46 -07:00
Bryan Roe
51a3bc5384 1. Improved clipboard on linux if xclip is installed
2. Fixed compiler warnings
2020-06-03 15:54:09 -07:00
Bryan Roe
e9764045a4 Fixed issue caused by Signal Listener being at top of chain, so it could get emitted before a pipe read 2020-06-02 03:43:20 -07:00
Bryan Roe
537e4404c6 Integrated SIGCHLD support with Linux child_process 2020-06-01 22:13:00 -07:00
Bryan Roe
297b5b1a5c Updated JS signal handler for linux 2020-06-01 17:28:36 -07:00
Bryan Roe
6e8e6ca5e0 Fixed cleanup logic for sighandler 2020-06-01 12:41:21 -07:00
Bryan Roe
a8ed89f79b Ipdated os.arch() on Windows to correctly use IsWOW64
Updated os.arch() on linux to check LONG_BIT if uname is 64 bit
2020-05-28 16:48:26 -07:00
Bryan Roe
3824ef638c Updated project files, and fixed compiler warnings 2020-05-28 00:54:30 -07:00
Bryan Roe
70979ad761 1. Fixed process.kill() on windows to wait to complete
2. Updated self update on windows to handle stale processes
2020-05-20 21:10:02 -07:00
Bryan Roe
0e8bc420a3 Added BuildNumber back to os.name for windows 2020-05-17 23:38:39 -07:00
Bryan Roe
2277b99bd7 Updated os.name so that on Windows does not need admin to get better results 2020-05-16 15:30:51 -07:00
Bryan Roe
941ac6e192 1. Added NULL check
2. Added process._exit()
3. Fixed CancelIOEx usage
2020-05-03 19:40:32 -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
cf91d6c709 1. Fixed bug with os.tmpdir()
2. Updated ScriptMode, so current durrectory is not changed to script path
3. Fixed process.cwd() on windows to support UTF8
2020-04-30 11:51:41 -07:00
Bryan Roe
07371fed6a !. Fixed more exePath related UTF8 issues
2. Added os.tmpdir() support
3. Added Buffer.toString('utf16')
2020-04-30 01:40:03 -07:00
Bryan Roe
71bd469551 fix 2020-04-29 03:01:44 -07:00
Bryan Roe
c7959a8332 Added ability to close message-box on windows 2020-04-28 14:27:42 -07:00
Bryan Roe
19508fa79e 1. Updated os.Name and os.name() to fetch Windows name from older versions of Windows
2. Fixed compiler warning
2020-04-26 09:57:43 -07:00
Bryan Roe
cb95c0bbea 1. Fixed service-manager to include execute permission for user, fixing issue with Deepin Linux
2. Added os.Name property
2020-04-26 00:54:04 -07:00
Bryan Roe
54b291187b 1. Fixed compiler warning when NO_IFADDR is defined
2. Added pthread_timedjoin_np() workaround for older glibc/gcc
2020-04-23 16:47:57 -07:00
Bryan Roe
e7f46497bd Fixed bug in ScriptContainer on Windows, where a dispatch failed 2020-04-22 17:24:25 -07:00