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

# Devzat - 8443

### Port 8443 (Devzat - production)

Le port 8443 expose une instance Devzat de production. Le `le fichier` paramètre peut lister les fichiers sur le système en tant que root, mais cette fonctionnalité est protégée par mot de passe.

<figure><img src="/files/084c5cdcf69badb6fc34d3d5f95f497d2db5832d" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/435b4e5e43d985a2e9aef6bd45567249a3960e60" alt=""><figcaption></figcaption></figure>

Essayer *catherine*Le mot de passe de … échoue. Recherchez des fichiers qui *catherine* peuvent être lus sur le système.

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

### Recherchez les fichiers lisibles par Catherine

Trouvez tous les fichiers lisibles par *catherine*:

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

Deux fichiers de sauvegarde `.zip` sont trouvés :

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

Téléchargez le fichier de sauvegarde `devzat-dev.zip` et filtrez son contenu à la recherche de mots de passe. Un mot de passe utile est trouvé : **`CeilingCatStillAThingIn2021?`**.

<figure><img src="/files/8761dc5976b083fe5a8e369959abd37577db17f8" alt=""><figcaption></figcaption></figure>

Utilisez ce mot de passe pour accéder à `/etc/shadow` via la `le fichier` paramètre :

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

Bien que le mot de passe soit correct, **parcours de répertoires** est nécessaire pour obtenir un accès complet. Utilisez le parcours pour naviguer dans le système de fichiers :

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

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

Le `/etc/shadow` le fichier est affiché avec succès en tant que root.

<figure><img src="/files/46626f87474d09232f20a5903ef8d26e925b17db" alt=""><figcaption></figcaption></figure>

### Accès SSH en tant que root

Utilisez un parcours de répertoires supplémentaire pour accéder à la clé SSH de root :

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

<figure><img src="/files/743553fe8b4159b9797718aafe3e1928d46a0192" alt="" width="563"><figcaption></figcaption></figure>

Téléchargez la clé SSH et connectez-vous en tant que root.

<figure><img src="/files/b44b9130b3a7ec1d33c48e3c0dad4ad22ef21ba1" 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/fr/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.
