# Reverse engineering - light up the server

## **Solution**

### **After Analyzing the server in IDA Pro and Flare CAPA**

<figure><img src="/files/HWrUxmJBgsDklFd5wDFs" alt=""><figcaption><p>Flare capa</p></figcaption></figure>

**The rule detected a regex as obfuscated stack strings**

```
/^([a-z]?[^a-e,g-z])la[g]{(h)0(s)t_\2(e)4d\4(r([_]?[^a-z]))(!)n((j(3))cti0)n(_)1s\6{1}5up3\5c3wl}$/gm
```

### Finding a match string via regex101

<figure><img src="/files/j8sN6EolnckITeZRntuh" alt=""><figcaption><p>Match flag</p></figcaption></figure>

### The Flag

```
flag{h0st_he4der_!nj3cti0n_1s_5up3r_c3wl}
```


---

# Agent Instructions: 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://blog.diefunction.io/ctf/blackhatmea-quals-2023/reverse-engineering-light-up-the-server.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.
