> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/pt-br/web/access-control/unprotected-admin-functionality.md).

# Funcionalidade de Administrador Sem Proteção

### Funcionalidade de administração desprotegida

Este laboratório exibe um painel de administração acessível sem nenhuma forma de controle de acesso.

#### Objetivo

Excluir usuário **carlos** por meio da interface de administração.

#### Análise

Ao explorar diretórios, por exemplo com **gobuster**, caminhos ocultos podem ser identificados:

{% code overflow="wrap" %}

```bash
gobuster dir -u https://0a7a004004ed1cdf8016bc3f0056007f.web-security-academy.net/ -w /usr/share/SecLists/Discovery/Web-Content/common.txt -t 50
```

{% endcode %}

<figure><img src="/files/687772a5008a222f11d3d93a91e1c8137a236d9f" alt="" width="495"><figcaption></figcaption></figure>

O **arquivo robots.txt** revela uma URL sensível apontando para o painel de administração: / `/administrator-panel`

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

Ao acessar diretamente essa interface desprotegida, os usuários podem ser gerenciados. / Basta selecionar o usuário **carlos** e excluí-lo.


---

# 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, and the optional `goal` query parameter:

```
GET https://hacking-notes.jord4n.pro/pt-br/web/access-control/unprotected-admin-functionality.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
