mirror of
https://github.com/CPunch/Laika.git
synced 2024-11-22 04:50:06 +00:00
Updated CNC setup (markdown)
parent
21b4b1a065
commit
b1c25809fa
20
CNC-setup.md
20
CNC-setup.md
@ -1,20 +1,4 @@
|
|||||||
While testing, sometimes it's nice to try it in a more 'real' environment (or you're using this project for red-teaming). Before deploying the default LaikaCNC target to a public-facing VPS, we'll need to make some changes.
|
While testing, sometimes it's nice to try it in a more 'real' environment (or you're using this project for red-teaming). Before deploying the default LaikaCNC target to a public-facing VPS, we'll need to make some changes.
|
||||||
|
|
||||||
## Generating a keypair
|
- [generate a build with a keypair](Keypairs)
|
||||||
|
- update the keys in server.ini & shell.ini
|
||||||
Generate a keypair using the `./bin/genKey` binary. Just run it like:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
$ ./bin/genKey
|
|
||||||
```
|
|
||||||
> Make sure you've previously [compiled the project](Compiling)
|
|
||||||
|
|
||||||
These keypairs will then need to be passed back to cmake, you'll need to re-build the whole target using these keys. This looks something like:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
$ rm -rf bin build &&\
|
|
||||||
cmake -B build -DLAIKA_PUBKEY=997d026d1c65deb6c30468525132be4ea44116d6f194c142347b67ee73d18814 -DLAIKA_PRIVKEY=1dbd33962f1e170d1e745c6d3e19175049b5616822fac2fa3535d7477957a841 -DCMAKE_BUILD_TYPE=MinSizeRel &&\
|
|
||||||
cmake --build build
|
|
||||||
```
|
|
||||||
|
|
||||||
## Update the keys in server.ini & shell.ini
|
|
Loading…
Reference in New Issue
Block a user