> 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/session-puzzling-attack/session-puzzling-simple-jwt-pentesting-web.md).

# التباس الجلسة JWT بسيط

نبدأ على **لوحة** تسجيل الدخول:

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

نلاحظ وجود **ملف تعريف ارتباط الجلسة** في JWT:

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

نقوم بالتحويل على الموقع الإلكتروني: "[jwt.io](https://jwt.io/)" ونفكّ ترميز الرمز المميز:

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

ندخل اسم المستخدم **admin** في نموذج نسيان كلمة المرور:

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

نعترض الطلب باستخدام Burp Suite، وفي الاستجابة نحصل على نفس **ملف تعريف ارتباط الجلسة** بدون إدخال بيانات الاعتماد:

<figure><img src="/files/68116f82c1daf5497c828585c01ed3f190696b7b" 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/session-puzzling-attack/session-puzzling-simple-jwt-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.
