> 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/ports-and-services/devzat-8443.md).

# Devzat — 8443

### Порт 8443 (Devzat - Production)

Порт 8443 открывает рабочий экземпляр Devzat. Этот `файл` параметр позволяет перечислять файлы в системе от имени root, но эта функция защищена паролем.

<figure><img src="/files/88de8c4dae863059ea1c5ceba67b29586739842f" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/1b1defd3ab89e5e68f8f883c55df752200dffa8b" alt=""><figcaption></figcaption></figure>

Попытка *catherine*пароля не удаётся. Найдите файлы, которые *catherine* можно прочитать в системе.

<figure><img src="/files/411cfc996fc43fa1d8c1748f29fed897122b075e" alt="" width="538"><figcaption></figcaption></figure>

### Найдите файлы, доступные для чтения Кэтрин

Найдите все файлы, доступные для чтения *catherine*:

```bash
find / -user catherine -readable 2>/dev/null | grep -vE "cgroup|proc"
```

Два резервных `.zip` файла найдены:

* `/var/backups/devzat-main.zip`
* `/var/backups/devzat-dev.zip`

Скачайте резервный файл `devzat-dev.zip` и отфильтруйте его содержимое по паролям. Найден полезный пароль: **`CeilingCatStillAThingIn2021?`**.

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

Используйте этот пароль для доступа к `/etc/shadow` через `файл` :

```bash
/file /etc/shadows CeilingCatStillAThingIn2021?
```

Хотя пароль верный, **обход пути** требуется для получения полного доступа. Используйте обход для навигации по файловой системе:

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

```bash
/file ../../../../etc/shadow CeilingCatStillAThingIn2021?
```

У `/etc/shadow` файл успешно отображается от имени root.

<figure><img src="/files/0853e04e81853d838d5aaf4b4ffccb41271db76f" alt=""><figcaption></figcaption></figure>

### SSH-доступ от имени root

Используйте дополнительный обход пути, чтобы получить доступ к SSH-ключу root:

```bash
/file ../../../../root/.ssh/id_rsa CeilingCatStillAThingIn2021?
```

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

Скачайте SSH-ключ и войдите от имени root.

<figure><img src="/files/825ef67040d81cfe2d1f7fef2cfbfd0b6b2910ee" alt=""><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/ports-and-services/devzat-8443.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.
