diff --git a/Compiling.md b/Compiling.md new file mode 100644 index 0000000..4f4c677 --- /dev/null +++ b/Compiling.md @@ -0,0 +1,41 @@ +Laika uses CMake as it's build system and provides several definitions for your to mess around with. + +| Definition | Description | Example | +| ----------------- | ------------------------------------- | --------------------------------------------------------------------------------- | +| LAIKA_PUBKEY | Sets CNC's public key | -DLAIKA_PUBKEY=997d026d1c65deb6c30468525132be4ea44116d6f194c142347b67ee73d18814 | +| LAIKA_PRIVKEY | Sets CNC's private key | -DLAIKA_PRIVKEY=1dbd33962f1e170d1e745c6d3e19175049b5616822fac2fa3535d7477957a841 | +| LAIKA_CNC_IP | Sets CNC's public ip | -DLAIKA_CNC_IP=127.0.0.1 | +| LAIKA_CNC_PORT | Sets CNC's bind()'d port | -DLAIKA_CNC_PORT=13337 | +| LAIKA_PERSISTENCE | Enables persistence for LaikaBot | -DLAIKA_PERSISTENCE=On | +| LAIKA_OBFUSCATE | Enables string obfuscation for LaikaBot | -DLAIKA_OBFUSCATE=On | +> these are all passed to `cmake -B