monkey/docs/content/setup/accounts-and-security.md

28 lines
1002 B
Markdown
Raw Normal View History

2020-06-22 21:35:55 +08:00
---
title: "Accounts and Security"
date: 2020-06-22T15:36:56+03:00
draft: false
weight: 50
pre: "<i class='fas fa-user-lock'></i> "
tags: ["usage", "password"]
2020-06-22 21:35:55 +08:00
---
## Security in Infection Monkey
2020-06-22 21:35:55 +08:00
2020-06-25 03:25:19 +08:00
The first time you launch Monkey Island (Infection Monkey CC server), you'll be prompted to create an account and secure your island. After your account is created, the server will only be accessible via the credentials you chose.
2020-06-22 21:35:55 +08:00
2020-06-25 03:25:19 +08:00
If you want island to be accessible without credentials press *I want anyone to access the island*. Please note that this option is insecure: you should only pick this for use in development environments.
2020-06-22 21:35:55 +08:00
## Resetting account credentials
2020-06-25 03:25:19 +08:00
To reset credentials edit `monkey_island\cc\server_config.json` by deleting `user` and `password_hash` variables. Then restart the Monkey Island server and you should be prompted with registration form again.
2020-06-22 21:35:55 +08:00
Example `server_config.json` for account reset:
2020-06-25 03:25:19 +08:00
```json
2020-06-22 21:35:55 +08:00
{
"server_config": "password",
"deployment": "develop"
}
```