1
0
mirror of https://github.com/CPunch/Laika.git synced 2024-11-24 21:41:04 +00:00
Commit Graph

221 Commits

Author SHA1 Message Date
a1c49edda1 updated README 2022-10-06 23:22:24 -05:00
0adfdc0ace stale comment 2022-10-05 20:47:23 -05:00
3316c77667 minor 'DEBUG' refactoring
- for debug builds, the LAIKA_DEBUG_BUILD macro will be defined in lconfig.h
- LAIKA_OBFUSCATE now controls the winobf IAT obfuscation as well
2022-10-05 20:36:49 -05:00
7ec814525c minor refactoring 2022-09-29 16:36:19 -05:00
490fcec4e7 minor formatting changes 2022-09-07 18:42:04 -05:00
674ea2b47b lmem.[ch]: removed inlined functions
- fixes some builds
2022-09-07 17:53:49 -05:00
6ab280d010 lsocket.[ch]: refactored writeInt && readInt
- switched to laikaS_readu* && laikaS_writeu*
- this gets rid of the ugly malloc() for platforms that don't support VLAs
2022-09-07 17:53:49 -05:00
dc91a207b1
Update README.md 2022-09-07 03:11:01 -05:00
257a50e817 CONTRIB: ltask.c should probably be reviewed lol 2022-09-03 00:56:17 -05:00
d015eec5f1 updated CONTRIB 2022-09-01 20:15:35 -05:00
cf01657cc2 fixes for winblows 2022-09-01 20:07:29 -05:00
587d9a26e5 lpolllist.c: fix poll ifdef paths 2022-09-01 20:04:54 -05:00
b23057b219 Refactoring: reorganized files 2022-09-01 20:00:37 -05:00
169313ee39 shell: migrated to new vector API
- removed array API from lmem.h
- sterm.c: basically left as-is. see source for notes as to why
2022-09-01 19:35:52 -05:00
44086f563b cnc: migrate to new vector API 2022-09-01 19:12:13 -05:00
13398dbdf6 lsocket.[ch] & lpeer.c: migrated to new vector API 2022-09-01 19:05:56 -05:00
af09e74263 lmem.h: new laikaM_*Vector macros
- these will slowly replace laikaM_*array
- lpeer.[ch] has been migrated
2022-09-01 18:47:29 -05:00
dbbe5f5a2a CNC: laikaC_sendPeerList() now uses laikaC_iterPeersNext() 2022-08-03 20:50:55 -05:00
3034c3bd8b minor refactoring, only call laikaT_getTime() once 2022-08-03 15:39:15 -05:00
770e34463e CNC: use laikaC_iterPeersNext for sweepPeersTask 2022-08-03 15:20:00 -05:00
68f8e80c75 laikaC_iterPeers now uses hashmap_iter
TODO:
- refactor codebase to use laikaC_iterPeersNext instead of laikaC_iterPeers where appropriate
2022-08-02 11:22:06 -05:00
10a36df090 Updated hashmap.c 2022-08-02 11:19:29 -05:00
fab6c5b4f6 typos 2022-07-30 23:16:00 -05:00
ed96b75577 Moved API obfuscation to LaikaLib target 2022-07-16 16:09:33 -05:00
25c18db6bc Bot: added Registry related API to laikaO_init()
- Also fixed misc. shell bug.
2022-07-12 18:09:23 -05:00
5d2f492c41 Updated README, moved compilation steps to wiki 2022-07-12 17:06:35 -05:00
82a6d45ed0 Updated CONTRIBUTING.md; New section to help users add WinAPI imports 2022-07-12 16:08:58 -05:00
f65341c5fa Bot: Fixed CreatePseudoConsole type definition 2022-07-12 16:04:29 -05:00
fdbe6cf3c7 Bot: More APIs added to laikaO_init()
- Misc. functions converted to their UTF-8 version
- ClosePseudoConsole & CreateProcessA are now manually 'linked' during runtime
2022-07-10 19:24:48 -05:00
4c8fef7d64 Use FreeLibrary(), not CloseHandle() 2022-07-10 19:24:48 -05:00
4d931f28cb Bot: Fixed MSVC warnings 2022-07-10 19:24:48 -05:00
35cbd91dd1 Bot: Added oCreatePseudoConsole to laikaO_init() 2022-07-10 19:24:48 -05:00
f92bbbc85b Bot: added library cleanup to findByHash() 2022-07-10 19:24:48 -05:00
b2f8efc402 Bot: Added boilerplate windows API obfuscation
- Grabs the functions directly from the loaded library by walking the exported address table and comparing hashes
- For now, only ShellExecuteA has been setup, more to come
2022-07-10 19:24:48 -05:00
18a6fdd124 Lib: Variadic packets now use the 'size' field as a minimum requirement 2022-06-30 20:19:35 -05:00
bc071c10d2 Lib: added PEER_PEER type for uninitalized peers
- defined LAIKA_PING_INTERVAL for the ping task
2022-06-30 20:19:35 -05:00
bc9891bcfd Switched licenses (GPL -> MIT) 2022-06-30 20:19:35 -05:00
ff8b059eff Removed unused cmake-modules 2022-06-30 20:19:35 -05:00
8092a636ca CNC, Lib, Bot, Shell: New 2nd stage handshake
- New packet, LAIKAPKT_PEER_LOGIN_REQ
- All peers must prove they have access to the sent pubkey by passing a challenge. A salt is now sent on the handshake response packet, which must be encrypted and sent back through the PEER_LOGIN packet
- Protcol minor version incremented to 0.4
2022-06-30 20:19:35 -05:00
db05f2eb13 README: Updated CMake requirements 2022-06-29 17:55:42 -05:00
2c63e43b00 Added note about coding style enforcement 2022-06-29 17:46:13 -05:00
2e4c63c0c6 Bot: misc. formatting fixes 2022-06-29 17:45:51 -05:00
a7a938c9e8 Bot: fix shell header includes (x2) 2022-06-27 19:48:43 -05:00
692b3c6137 Lib: fix windows headers 2022-06-27 19:11:43 -05:00
b6eebdd5fb Bot: fixed shell include errors 2022-06-27 19:02:49 -05:00
48fa8935c3 Added .clang-format, formatted codebase 2022-06-27 18:57:00 -05:00
1d6ce15b3d Minor comments refactoring 2022-06-27 18:20:23 -05:00
ca0543fe90 Removed unused content streams 2022-06-26 19:02:21 -05:00
43ef603301 README: action badge should only reflect the main branch 2022-06-19 22:44:59 -05:00
0fc8d0c169 CNC: Fix possible out of bounds subscript for SHELL_* packets
- content events now pass the sLaika_peer struct
2022-06-13 12:11:08 -05:00