1
0
mirror of https://github.com/CPunch/Laika.git synced 2024-12-26 12:50:06 +00:00
Commit Graph

19 Commits

Author SHA1 Message Date
b23057b219 Refactoring: reorganized files 2022-09-01 20:00:37 -05:00
48fa8935c3 Added .clang-format, formatted codebase 2022-06-27 18:57:00 -05:00
fed78402a2 Bot: Obfuscated CNC public key 2022-05-27 17:51:10 -05:00
b578f29168 added lconfig.h symbolic link 2022-05-19 12:15:22 -05:00
5aecc1b63f VMBoxGen refactor, obfuscate static CNC ip & port strings
- VMBoxGen is built before shared lib
- VMBoxGen has no reliance on the shared lib, just the config file
- main config was moved to the root cmakelists
2022-05-19 01:42:40 -05:00
134f1fee37 Bot: add VMBoxGen as a dependency 2022-05-15 15:27:54 -05:00
f649ca4a56 Win: Static builds & fixed winpersist.c 2022-05-14 13:24:20 -05:00
36aefba340 VMBoxGen: generate lboxconfig.h post build if LAIKA_OBFUSCATE 2022-05-11 14:50:42 -05:00
e3a1f51d60 added 'LAIKA_OBFUSCATE' cmake option
- if defined, enables LAIKA_BOX obfuscation for variables
- new macros (LAIKA_BOX_SKID_START & LAIKA_BOX_SKID_END), become no-ops if LAIKA_OBFUSCATE is undefined
- TODO: use cmake to automate the generation of lboxconfig.h
2022-05-10 20:28:54 -05:00
062d8f1dd6 update README 2022-05-09 17:02:48 -05:00
71db213261 Implemented VMBoxes, linux persistence related strings are obfuscated, added VMBoxGen tool
- lboxconfig.h holds obfuscated data, which is generated by VMBoxGen
- linpersist.c now uses obfuscated strings
2022-05-09 16:41:01 -05:00
a4239282b2 Box: added LAIKA_BOX_SKID, vmTest now uses the LAIKA_BOX_SKID box
- updated CONTRIB
2022-05-01 14:41:32 -05:00
c63bfe00af VM: added OP_DECPTR, minor refactoring of laikaB_unlock 2022-04-30 16:21:29 -05:00
a4e04297a7 Tool: added VM Test
- includes a tiny demo for decoding secret messages
2022-04-29 15:51:59 -05:00
c092d5a9a0 Deprecated panel, added shell, lrsa.h -> lsodium.h
- Refactoring
2022-02-24 22:13:05 -06:00
dd173ee422 Key exchange refactoring!
- LAIKAPKT_HANDSHAKE_REQ now only sends the bot's pub key
	a shared key is generated using the other peer's pub key,
	allowing for fully encrypted packet bodies, (packet ID is
	left in plain-text)
- laikaS_startOutPacket(), laikaS_endOutPacket(),
	laikaS_startInPacket() & laikaS_endInPacket() have been
	added.
- laikaS_setSecure() has been added to turn on/off encrypted packets.
- genKey now generates kx keypairs
- major refactoring for relevant packet handlers
- variadic packets have been temporarily disabled
2022-02-03 16:25:49 -06:00
1630f6277f Moved CMAKE_C_STANDARD to the root CMakeLists.txt 2022-01-30 01:20:47 -06:00
6fb8aa9b8a Refactored how CMake passes version & settings info
- keys can now be passed per-build passing -DLAIKA_PUBKEY=[pubkey] & -LAIKA_PRIVKEY=[pubkey] to `cmake -B`
- if those definitions aren't passed, the default public & private key will be used (for quick testing)
2022-01-30 01:15:51 -06:00
203b5ce38f Added LibSodium, new tools/, genKey, sLaika_peer::type
- sLaika_peer has a new member, (PEERTYPE)type
- LibSodium dependency added
2022-01-27 13:36:36 -06:00