> 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/ports-and-services/devzat-8443.md).

# Devzat - 8443

### Porta 8443 (Devzat - Produção)

A porta 8443 expõe uma instância de produção do Devzat. O `arquivo` parâmetro pode listar arquivos no sistema como root, mas esse recurso é protegido por senha.

<figure><img src="/files/361d94d37f04cd43560ce4465696a3b9899d9a3c" alt=""><figcaption></figcaption></figure>

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

Tentando *catherine*A senha de 's falha. Procure por arquivos que *catherine* podem ser lidos no sistema.

<figure><img src="/files/d6851cb6fc2d2ef561a65d8a3cb1e5a9b36a172e" alt="" width="538"><figcaption></figcaption></figure>

### Procure por arquivos legíveis por Catherine

Encontre todos os arquivos legíveis por *catherine*:

```bash
find / -user catherine -readable 2>/dev/null | grep -vE "cgroup|proc"
```

Dois backups `.zip` arquivos são encontrados:

* `/var/backups/devzat-main.zip`
* `/var/backups/devzat-dev.zip`

Baixe o arquivo de backup `devzat-dev.zip` e filtre seu conteúdo em busca de senhas. Uma senha útil é encontrada: **`CeilingCatStillAThingIn2021?`**.

<figure><img src="/files/14d8ad72d1488c687eefda907146c7b5ee1f2ae2" alt=""><figcaption></figcaption></figure>

Use essa senha para acessar `/etc/shadow` através da variável `arquivo` parâmetro:

```bash
/file /etc/shadows CeilingCatStillAThingIn2021?
```

Embora a senha esteja correta, **travessia de caminho** é necessária para obter acesso total. Use uma travessia para navegar pelo sistema de arquivos:

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

```bash
/file ../../../../etc/shadow CeilingCatStillAThingIn2021?
```

O `/etc/shadow` arquivo é exibido com sucesso como root.

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

### Acesso SSH como root

Use uma travessia de caminho adicional para acessar a chave SSH de root:

```bash
/file ../../../../root/.ssh/id_rsa CeilingCatStillAThingIn2021?
```

<figure><img src="/files/017cadc67a8c7a0c9dbdb18ddc7d07d75d0ce324" alt="" width="563"><figcaption></figcaption></figure>

Baixe a chave SSH e faça login como root.

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


---

# 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/ports-and-services/devzat-8443.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.
