> 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/nostromo-cms-exploitation/nostromo-homedirs-configuration.md).

# Конфигурация HomeDirs в Nostromo

### Конфигурация HomeDirs Nostromo

{% hint style="info" %}
**Контекст:** Nostromo можно настроить так, чтобы пользователи размещали веб-контент из личного каталога, часто `public_www` под `/home/[user]/public_www`. Затем пользователи могут получать доступ к своим страницам через такие URL, как `http://traverxec.htb/~[user]`.
{% endhint %}

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

<figure><img src="/files/1476776cef8419eb68acd03afa3354525e378ea7" alt=""><figcaption></figcaption></figure>

Изучение файла также показывает `public_www` в качестве расположения по умолчанию для пользовательского веб-контента.

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

При обращении к `http://traverxec.htb/~david` открывается скрытая `protected-file-area` папка, содержащая `.tgz` файле.

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

**Загрузка и извлечение содержимого:**

Скачать `backup-ssh-identity-files.tgz`:

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

Извлеките содержимое, чтобы восстановить SSH-ключ:

`tar -xzf backup-ssh-identity-files.tgz`

<figure><img src="/files/3c00aa793246c49c07f2ab296d9b28b528e0929b" 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/nostromo-cms-exploitation/nostromo-homedirs-configuration.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.
