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

# Nostromo HomeDirs 配置

### Nostromo HomeDirs 配置

{% hint style="info" %}
**背景：** Nostromo 可以配置为允许用户从个人目录托管网页内容，通常 `public_www` 底层为 `/home/[user]/public_www`。用户随后可以通过如下 URL 访问他们的页面： `http://traverxec.htb/~[user]`.
{% endhint %}

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

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

查看该文件还会显示 `public_www` 作为用户网页内容的默认位置。

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

访问 `http://traverxec.htb/~david` 会显示一个隐藏的 `protected-file-area` 文件夹，其中包含一个 `.tgz` 文件中的用户进行测试。

<figure><img src="/files/2a9779637da1afc5705afffe063c6949ce22f582" alt=""><figcaption></figcaption></figure>

**下载与内容提取：**

下载 `backup-ssh-identity-files.tgz`:

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

解压内容以恢复一个 SSH 密钥：

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

<figure><img src="/files/5b8509534392c702a63a23a31b9a2e96dfa5390b" 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/zh/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.
