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

# Duplicati — чтение файлов резервных копий

<figure><img src="/files/25a2da9dc1c6b001a10824e97547667340942424" alt=""><figcaption></figcaption></figure>

Имея доступ к **панели администратора Duplicati**, создайте новую резервную копию, чтобы извлечь **SSH-ключ**.

<figure><img src="/files/9e72b25d979d54bba34cb96ddd665f6578d52e2f" alt=""><figcaption></figcaption></figure>

**Анализ конфигурации Docker**/ В `docker-compose.yml` файл показывает, что файлы хранятся в системе хоста **источник** каталог, подключённый в контейнер.

<figure><img src="/files/8c23a1541b424ae3f739c5000046b0a4da4c4ea8" alt="" width="541"><figcaption></figcaption></figure>

**Выбор целевого каталога**/ Чтобы получить доступ к конфиденциальным файлам, установите **backup** в качестве назначения этот каталог, выбрав:

* **Каталог source** : `/source/home/marcus/`

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

* **Исходные данные:** `source/root/`

<figure><img src="/files/458f5f5918ec510f1cc3c8e0ff14da318e23f8b4" alt=""><figcaption></figcaption></figure>

**Завершение настройки**

* Сохраните конфигурацию.

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

* Выполнить **backup** чтобы восстановить целевые файлы.

<figure><img src="/files/4355fd970b0519b8895a1ce5579bae106bd016fc" alt=""><figcaption></figcaption></figure>

### Извлечение файлов из резервной копии

После **backup** выполнения создаются три ZIP-архива.

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

* **Доступ к файлам**
  * Прямое открытие файлов невозможно из-за ограничений доступа.
  * Через **Duplicati**, используйте **Восстановить файлы** чтобы восстановить содержимое.

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

**Восстановление и эксфильтрация**

* Извлеките файлы из резервной копии.

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

Выберите **`/source/home/marcus/`** в качестве источника восстановления.

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

<figure><img src="/files/55365b1e09f60cad4eba8119c87c463e5e613d1e" 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/ru/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.
