> 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).

# Benutzernamen-Enumeration über unterschiedliche Antworten

### Benutzername-Enumerierung über 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 greife auf die Benutzerkontoseite zu.

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

#### Vorbereitung

* Die Seite bietet ein klassisches **Login** Formular.
* Es gibt Listen von **Benutzernamen** und **passwords** die vom Lab 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 Nutzlast auf dem **Benutzernamen** Parameter auszunutzen.

<figure><img src="/files/9a181bb95337f79e745b4ec9b98e4cd297c64d17" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/7be208ec9aac1f161e6447e3374682cc45ec237f" alt=""><figcaption></figcaption></figure>

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

Beachte, dass für den Benutzernamen **`apollo`**, die Antwort eine andere **Länge** als die anderen hat.

→ Dies weist darauf hin, dass **`apollo`** ein gültiger **Benutzernamen**.

<figure><img src="/files/8fd331814836eef526801e3987cfdfd968a3936e" 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 Nutzlast dieses Mal auf dem **Passwort** Parameter auszunutzen.
4. Lade die **Passwortliste** bereitgestellt.
5. Starte den Angriff und analysiere die Antworten.

<figure><img src="/files/3eea8c26688d49908875b0ee09bfec6c078acfa7" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/77f8789265c53418a8a744027fe8448cc60b51d4" alt=""><figcaption></figcaption></figure>

#### 3. Abschließender 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 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/authentication/username-enumeration-via-different-responses.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.
