mirror of
https://github.com/CPunch/Laika.git
synced 2024-11-21 20:40:05 +00:00
Updated CNC setup (markdown)
parent
6136b9839d
commit
60e38a236f
28
CNC-setup.md
28
CNC-setup.md
@ -1,4 +1,28 @@
|
||||
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.
|
||||
|
||||
- [generate a build with a keypair](Keypairs)
|
||||
- update the keys in server.ini & shell.ini
|
||||
## Generate a *good* keypair
|
||||
|
||||
Make sure you have a unique, self-generated keypair. You can do that by following [this](Keypairs).
|
||||
|
||||
## Make shell keypair
|
||||
|
||||
This keypair is unique per 'admin' user. [Generate another keypair](Keypairs) and update shell.ini && server.ini
|
||||
|
||||
***Replace the pre-existing keypair with your newly generated key!!***
|
||||
|
||||
Example shell.ini
|
||||
```ini
|
||||
; replace these!!!!
|
||||
[auth]
|
||||
public-key = 2d89362e935f96ab967938a279c786958cd4d2f5e6a05c8e2cdee916042f8700
|
||||
private-key = a8e25e49ffb13b2e1beb90b15ce3a4f1f037e2409af822aab138cdbd9927c468
|
||||
```
|
||||
|
||||
Example server.ini
|
||||
```ini
|
||||
; example of multiple 'admin' shells
|
||||
[auth]
|
||||
public-key-entry: 2d89362e935f96ab967938a279c786958cd4d2f5e6a05c8e2cdee916042f8700
|
||||
public-key-entry: 452bcab368ddfad70e557d725a76a2590ce5ca4e56fcc26083f8484cb4696479
|
||||
public-key-entry: abe611142327104b7a333a4883257f47b7a5dd1ab35ce02b15686b654de79e42
|
||||
```
|
Loading…
Reference in New Issue
Block a user