> 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/james-server-4555-119-110.md).

# خادم James - 4555/119/110

### المنفذ 119 - NNTP

> يستخدم المنفذ 119 خدمة بروتوكول نقل أخبار الشبكة (NNTP). يعمل الخادم بنسخة من Apache James، وهو خادم بريد وأخبار. اتصل باستخدام `netcat`، ولكن لا يتم العثور على أي معلومات ذات صلة.

```bash
nc 10.10.10.51 119
```

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

### المنفذ 4555 - أداة الإدارة عن بُعد

> في سياق الإدارة عن بُعد، يمكن استغلاله للوصول إلى لوحات التحكم أو للتفاعل مع الخدمات البعيدة على الجهاز المستهدف. من المهم فحصه للتحقق مما إذا كان مفتوحًا وأي خدمة يستضيفها.

اتصل بلوحة إدارة James عبر Telnet:

```bash
telnet 10.10.10.51 4555
```

<figure><img src="/files/4ef1a159d31d0c5c32917dfccd96a2f101a49313" alt=""><figcaption></figcaption></figure>

تم العثور على بيانات الاعتماد الافتراضية:

* **اسم المستخدم** : root
* **كلمة المرور** : root

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

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

بعد تسجيل الدخول، تتيح لوحة إدارة James تعداد المستخدمين باستخدام `listusers` الأمر. تم اكتشاف خمسة مستخدمين:

* `المستخدم: james`
* `المستخدم: thomas`
* `المستخدم: john`
* `المستخدم: mindy`
* `المستخدم: mailadmin`

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

الـ `setpassword` يمكن للأمر تغيير كلمات مرور المستخدمين بحيث يمكن الوصول إلى صناديق البريد عبر POP3 على المنفذ 110. غيّر كلمة المرور لكل مستخدم:

```ada
setpassword james james
setpassword thomas thomas
setpassword john john
setpassword mindy mindy
setpassword mailadmin mailadmin
```

<figure><img src="/files/7a4861683a575d717f35d5234ffc0e702121c53f" alt=""><figcaption></figcaption></figure>

### المنفذ 110 - POP3

> المنفذ 110 هو المنفذ القياسي المستخدم لـ **POP3** (بروتوكول مكتب البريد الإصدار 3). يستخدم عملاء البريد الإلكتروني هذا البروتوكول لاسترجاع الرسائل من الخادم.

اتصل بخدمة POP3 عبر Telnet:

<pre class="language-bash"><code class="lang-bash"><strong>telnet 10.10.10.51 110
</strong></code></pre>

سجّل الدخول باستخدام الأوامر التالية:

```ada
USER <user>
PASS <password>
```

اعرض الرسائل باستخدام `list` الأمر.

لا توجد رسائل في `james` و `thomas` صناديق البريد.

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

ومع ذلك، فإن `john` يحتوي صندوق البريد على رسالة يمكن استرجاعها باستخدام `retr 1`. تحتوي الرسالة على النص التالي:

> John،
>
> هل يمكنك تقييد وصول Mindy حتى يُسمح لها بالانضمام إلى البرنامج؟ وتأكد أيضًا من إرسال كلمة مرور مؤقتة لها حتى تتمكن من تسجيل الدخول إلى حساباتها.
>
> شكرًا مقدمًا.
>
> مع التحية، / James

<figure><img src="/files/4a46e0f6ef8a6635607fc24fdf364a4da1e5d5a8" alt=""><figcaption></figcaption></figure>

يشير هذا إلى أن `mindy` المستخدم لديه بيانات اعتماد في صندوق البريد. تم العثور على المعلومات التالية:

* **اسم المستخدم** : mindy
* **كلمة المرور** : P\@55W0rd1!2@

<div data-full-width="true"><figure><img src="/files/518c53eaa7e8578f2f05d77bfc809f6f434d2d13" alt=""><figcaption></figcaption></figure></div>


---

# 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/james-server-4555-119-110.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.
