> 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/web-vulnerabilities/owasp-top-10-vulnerabilities/vulnerability-xml-external-entity-injection-xxe/xxe-user-enumeration-pentesting-web.md).

# تعداد المستخدمين عبر XXE

## XXE (حقن الكيانات الخارجية في XML):

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

#### تحليل الشيفرة المصدرية (بنية XML) تم اعتراضه باستخدام Burp Suite

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

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

#### محاولة هجوم XXE (حقن الكيانات الخارجية في XML)

* تعديل طريقة الطلب من GET إلى POST.

<figure><img src="/files/082716095365c504f8ad12bee2c15e5d5674d0c7" alt=""><figcaption></figcaption></figure>

* محاولة حقن نموذج طابعة XXE في طلب POST.

<pre class="language-xml"><code class="lang-xml">&#x3C;creds>
<strong>	&#x3C;customer>
</strong>		جوردان
	&#x3C;/customer>
	&#x3C;password>
		jordan123
	&#x3C;/password>
&#x3C;/creds>
</code></pre>

* ملاحظة الطريقة التي يفسر بها الخادم نموذج الطابعة XXE.

<figure><img src="/files/2a1f4914bc1d36b5fe0f4d3faf82ca4f9fbf0267" alt=""><figcaption></figcaption></figure>

* للوصول إلى نظام الملفات، يجب أن ننشئ كيانًا جديدًا **كيان**، على سبيل المثال، "myFile"، كما يلي: `<!DOCTYPE foo [<!ENTITY myFile SYSTEM "file:///etc/passwd">]>` ثم، في متغير، يجب أن ننشر النتيجة مع "**/\&myFile**" بهذا الشكل:

<figure><img src="/files/759664dc3941a71aefe9d1f504c2539c85bf6555" alt=""><figcaption></figcaption></figure>

#### تحديد هوية مستخدم "ftpUserULTRA

<figure><img src="/files/4ee2396944be2452423daae24bc38c9e0b260797" 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/web-vulnerabilities/owasp-top-10-vulnerabilities/vulnerability-xml-external-entity-injection-xxe/xxe-user-enumeration-pentesting-web.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.
