> 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/access-control/insecure-direct-references-to-objects.md).

# مراجع مباشرة غير آمنة إلى الكائنات

### مراجع مباشرة غير آمنة إلى الكائنات

**هدف المختبر:** تُخزَّن سجلات دردشة المستخدم مباشرةً على نظام ملفات الخادم ويتم استرجاعها عبر عناوين URL ثابتة. الهدف هو العثور على كلمة مرور المستخدم **carlos** ثم تسجيل الدخول إلى حسابه.

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

تُلاحظ ميزة بريد إلكتروني مع خيار لتنزيل نص الدردشة عبر **GET** طلب.

<figure><img src="/files/98542a95db6bd2625d8d2511468c67233adc7e45" alt=""><figcaption></figcaption></figure>

عنوان URL كما يلي:

```
/download-transcript/1.txt
```

من خلال تغيير معرّف الملف في عنوان URL ببساطة، يمكن الوصول إلى النصوص من مستخدمين آخرين دون أي حماية. على سبيل المثال:

<figure><img src="/files/ccff01cadca08bf406a2a9b7e240f81259dc00a0" 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/access-control/insecure-direct-references-to-objects.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.
