# What's Up ?

**Category:** Web - **Points:** 46 - **Solves:** 11\
**Description:** Find the Flag in the files of the website

**Infos:**\
To preserve the health of the server, brute-force tools such as Gobuster are not allowed.\
<http://davincicode.fr:5000/>

**Hints:** *Request Headers* & *admin portal*

**Solution:**\
To solve this challenge you need to examine the requests sends to the server and her responses.\
To do that you need to use OWASP ZAP.\
So the challenge is decomposed in 2 steps :

1. Display the site tree for finding the admin portal page URL

{% file src="/files/Eh2DZGPqVENFYdrIHx3M" %}

[Admin Portal URL](http://davincicode.fr:5000/53Cr374DM1NP0r741)\
Once find, you can go this URL but you are stopped because you are not an admin. To change that, you need to update your requests and cookies for change the user type (normal by admin)

1. Update the user type (normal by admin)

{% file src="/files/5vMaKkZ9JKkhuDSntSHW" %}

You have discovered the FLAG in the code of the page and is also displayed on the website.

<details>

<summary>🚩 FLAG</summary>

```
DVC{c00k1ng_m4m4_l0v3s_s0me_c00k1es}
```

</details>


---

# 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://writeups.ayweth20.com/2021/dvctf-to-join-davincicode/web/whats-up.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.
