> 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/cms/duplicati-cms-exploitation/duplicati-backup-reading-files.md).

# Duplicati - Lecture des fichiers de sauvegarde

<figure><img src="/files/756a46738b8ec78182ff6e540ca080cc51a7bf63" alt=""><figcaption></figcaption></figure>

Avec accès au **panneau d'administration Duplicati**, créez une nouvelle sauvegarde pour exfiltrer la **clé SSH**.

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

**Analyse de la configuration Docker**/ Le `docker-compose.yml` fichier montre que les fichiers sont stockés dans le système hôte **source** répertoire, monté dans le conteneur.

<figure><img src="/files/585b1ed1d0546218efa1f84dae7d92a4ffdccf6d" alt="" width="541"><figcaption></figcaption></figure>

**Sélection du répertoire cible**/ Pour accéder aux fichiers sensibles, définissez la **backup** destination vers ce répertoire en sélectionnant :

* **Dossier source** : `/source/home/marcus/`

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

* **Données source :** `source/root/`

<figure><img src="/files/6b1d90ececf726ec275e3b9aba18f7043bcdf23b" alt=""><figcaption></figcaption></figure>

**Finalisation de la configuration**

* Enregistrez la configuration.

<figure><img src="/files/148ca8baeea1702ff5cdb83187948ab5819e27b2" alt=""><figcaption></figcaption></figure>

* Exécuter la **backup** pour récupérer les fichiers ciblés.

<figure><img src="/files/563c72cf945d8f2961ca9c6be5935ca393c6189c" alt=""><figcaption></figcaption></figure>

### Extraction des fichiers sauvegardés

Après le **backup** exécution, trois archives ZIP sont générées.

<div data-full-width="true"><figure><img src="/files/4022162515ebabc5da15a6897ddd8221ac2822f0" alt=""><figcaption></figcaption></figure></div>

* **Accès aux fichiers**
  * L'ouverture directe des fichiers échoue en raison des restrictions d'accès.
  * Par **Duplicati**, utilisez **Restaurer les fichiers** pour récupérer le contenu.

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

**Restauration et exfiltration**

* Extrayez les fichiers de la sauvegarde.

<figure><img src="/files/12947d90888bd0ffb1b9d0e4efdf042c844e1c03" alt=""><figcaption></figcaption></figure>

Sélectionnez **`/source/home/marcus/`** comme source de restauration.

<figure><img src="/files/8fa8daf7a53e89345f0d8cacf3b328d04f2c9f64" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/d71b1a5a855668ab60b2702a34ceb584319ede70" alt="" width="563"><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/cms/duplicati-cms-exploitation/duplicati-backup-reading-files.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.
