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

# Nostromo HomeDirs Configuration

Nostromo HomeDirs enumeration notes for nhttpd.conf review, public\_www discovery, protected-file-area access, backup archive extraction, and SSH key recovery.

### Nostromo HomeDirs Configuration

{% hint style="info" %}
**Context:** Nostromo can be configured to let users host web content from a personal directory, often `public_www` under `/home/[user]/public_www`. Users can then access their pages through URLs such as `http://traverxec.htb/~[user]`.
{% endhint %}

<figure><img src="https://131707722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-242fc42effb5b210e9bbb71cb6665309ec13ff37%2Fimage%20(2415).png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://131707722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-d2ed348dc48ddb4c6a7fd0b33ae07b9e82276f3a%2Fimage%20(2416).png?alt=media" alt=""><figcaption></figcaption></figure>

Reviewing the file also reveals `public_www` as the default location for user web content.

<figure><img src="https://131707722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-5bcea2b3dfc1d22983e4ad13b7d7b3af31fadf61%2Fimage%20(2417).png?alt=media" alt=""><figcaption></figcaption></figure>

Accessing `http://traverxec.htb/~david` reveals a hidden `protected-file-area` folder containing a `.tgz` file.

<figure><img src="https://131707722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-37689238b117466f6fdea808268c59d5317bc8bd%2F%7B90879795-388B-44B2-9028-CA16D112CAE2%7D.png?alt=media" alt=""><figcaption></figcaption></figure>

**Download and Content Extraction:**

Download `backup-ssh-identity-files.tgz`:

<figure><img src="https://131707722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-e144dff2e7bddb6605b23290342d0beb5ea9403e%2F%7BFF58810F-36FF-466B-A751-D8B121742315%7D.png?alt=media" alt=""><figcaption></figcaption></figure>

Extract the content to recover an SSH key:

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

<figure><img src="https://131707722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-381f36b881b14f6f1ee7438927c9640bd28728ad%2Fimage%20(2418).png?alt=media" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://hacking-notes.jord4n.pro/cms/nostromo-cms-exploitation/nostromo-homedirs-configuration.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
