> 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/elasticsearch-9200.md).

# Elasticsearch - 9200

{% hint style="info" %}
Elasticsearch هو محرك بحث وتحليلات يعمل في الوقت الحقيقي ويُستخدم لفهرسة كميات كبيرة من البيانات والبحث فيها بسرعة. وهو يتكامل مع حزمة ELK لتوفير قدرات متقدمة في تصور البيانات وتحليلها.
{% endhint %}

### Elasticsearch - تسريب معلومات

#### يستضيف المنفذ 9200 Elasticsearch الإصدار 6.4.2.

<figure><img src="/files/1fdd2f45ee8e16fa5d8fd2da89ba09bc21e0bc1a" alt="" width="563"><figcaption></figcaption></figure>

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

الوصول إلى `/_cat/indices?` يُرجع عنوان URL قائمةً بالمفهرسات مع معرّفات UUID الخاصة بها. لاستخراج محتويات فهرس، استخدم عنوان URL التالي:

`http://haystack.htb:9200/<index>/_search?pretty=true&size=1000`

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

**تصفية البيانات باستخدام Curl**

باستخدام `quotes` وبفهرسة البيانات والتصفية باستخدام الكلمة المفتاحية للتحدي، يتم العثور على معلومات ذات صلة:

```bash
curl -s -X GET "http://haystack.htb:9200/quotes/_search?pretty=true&size=1000" | jq | grep -Ei "clave"
```

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

**فك ترميز السلاسل المشفّرة بـ Base64**

تم استرجاع سلسلتين مشفرتين بـ base64. يكشف فك ترميزهما عن بيانات الاعتماد:

```bash
echo -n "cGFzczogc3BhbmlzaC5pcy5rZXk=" | base64 -d; echo
echo -n "dXNlcjogc2VjdXJpdHkg" | base64 -d; echo
```

<figure><img src="/files/3d3d1edccbb8b937435efb196e9e080806af0205" alt=""><figcaption></figcaption></figure>

**المستخدم:** `security`/ **كلمة المرور:** `spanish.is.key`


---

# 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/elasticsearch-9200.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.
