> 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/authentication/username-enumeration-via-different-responses.md).

# Benutzerenumeration über unterschiedliche Antworten

Notizen zur Benutzerenumeration über unterschiedliche Antworten für die Labs der PortSwigger Web Security Academy, einschließlich Ausnutzungsablauf, Payload-Tests, Burp-Suite-Validierung und Behebungskontext.

### Benutzernamensaufzählung durch unterschiedliche Antworten

Die Website ist anfällig für:

* Aufzählung von Benutzernamen über unterschiedliche Antwortmeldungen;
* das Brute-Force-Passwort.

Das Ziel ist:

1. Finde einen gültigen Benutzernamen aus einer Wortliste.
2. Errate das zugehörige Passwort per Brute-Force aus einer anderen Wortliste.
3. Melde dich an und rufe die Benutzerkontoseite auf.

<figure><img src="https://2955439919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-ccf67dcce26dcb02361d0b122a217b0baf941691%2F%7B61DF05E8-D935-493C-A8BA-42F89F5BF167%7D.png?alt=media" alt=""><figcaption></figcaption></figure>

#### Einrichtung

* Die Website bietet ein klassisches **Login** Formular.
* Es gibt Listen mit **Benutzernamen** und **passwords** die vom Labor bereitgestellt werden.
* Die Verbindungsanfrage wird abgefangen und an **Burp Intruder**.

#### 1. Benutzerliste

1. Fange einen Verbindungsversuch ab und sende ihn an **Intruder**.
2. Platziere eine Payload auf der **Benutzername** Parameter angeben.

<figure><img src="https://2955439919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-d64b3af1411e7ddc82aa5b4402b72fad22cbcc4c%2F%7B0A70DC87-588C-4D73-BCAF-F6C8640691A7%7D.png?alt=media" alt=""><figcaption></figcaption></figure>

* Lade die **Wortliste der Benutzer** die vom Labor bereitgestellt werden.

<figure><img src="https://2955439919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-343bb5b164b93bdf0b805791b01f94bc649de7c3%2F%7B046A8173-59EB-484C-ABCC-B98AFAA50EC1%7D.png?alt=media" alt=""><figcaption></figcaption></figure>

1. Starte den Angriff und beobachte die Antworten (Status, Länge usw.).

Beachte, dass für den Benutzernamen **`apollo`**&#x68;at die Antwort eine andere **Länge** als die anderen.

→ Das zeigt, dass **`apollo`** ein gültiger **Benutzername**.

<figure><img src="https://2955439919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-880b9c0db9f438e08a0ef307ec12294cc17e1d3a%2F%7B299782D1-1A98-4977-89AD-8C95D9068556%7D.png?alt=media" alt=""><figcaption></figcaption></figure>

#### 2. Passwort per Brute-Force

1. Setze die Login-Anfrage fort mit **Benutzername festgelegt auf `apollo`**.
2. Sende die Anfrage erneut in **Intruder**.
3. Platziere die Payload diesmal auf der **Passwort** Parameter angeben.
4. Lade die **Passwortliste** bereitgestellt.
5. Starte den Angriff und analysiere die Antworten.

<figure><img src="https://2955439919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-b7ea540ea8a7329fdc8028f9da40afb6c901514f%2F%7B2AFE17EE-304B-469A-AD9D-EBBAD864C983%7D.png?alt=media" alt=""><figcaption></figcaption></figure>

Das **`mustang`** Passwort erzeugt eine andere **Antwort** (z. B. Länge oder Inhalt), was auf eine erfolgreiche **Verbindung**.

<figure><img src="https://2955439919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-f92948a7310a9632c0ef2d47e7803cabad1e056a%2F%7BE01944EF-74C1-4ACD-B148-FF4EB5AD9631%7D.png?alt=media" alt=""><figcaption></figcaption></figure>

#### 3. Abschließendes Login

Gültige Anmeldedaten sind:

* **Benutzername :** `apollo`
* **Passwort :** `mustang`


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://hacking-notes.jord4n.pro/de/web/authentication/username-enumeration-via-different-responses.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
