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

30 lines
1022 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 the Infection Monkey
2020-06-22 21:35:55 +08:00
The first time you launch Monkey Island (the Infection Monkey CC server), you'll be prompted to create an account and secure your island. After account creation, the server will only be accessible via the credentials you entered.
2020-06-22 21:35:55 +08:00
If you want an island to be accessible without credentials, press *I want anyone to access the island*. Please note that this option is insecure, and you should only use it in development environments.
2020-06-22 21:35:55 +08:00
## Resetting your account credentials
2020-06-22 21:35:55 +08:00
2021-01-27 01:42:11 +08:00
To reset your credentials, edit `monkey_island\cc\server_config.json` by deleting the `user` and `password_hash` variables.
When you restart the Monkey Island server, you will again be prompted with the registration form.
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"
}
```