> 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/hacking-wifi/wpa-wpa2-psk-network-attacks/traffic-manipulation/airdecap-packet-decryption.md).

# Airdecap-Paketentschlüsselung

Eine autorisierte WiFi-Erfassung mit Airdecap-ng entschlüsseln und HTTP-Verkehr untersuchen.

Ein verschlüsselter WiFi-Mitschnitt kann nicht direkt untersucht werden. Zum Beispiel liefert das Filtern nach HTTP-Datenverkehr vor dem Entschlüsseln des Mitschnitts keine Ergebnisse:

{% code overflow="wrap" %}

```bash
tshark -r Capture-01.cap -Y "http"
```

{% endcode %}

würde nicht funktionieren

<figure><img src="https://2955439919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2FoacSMyZCXiIjiG4R0LWR%2Fimage.png?alt=media&amp;token=0c0a8a35-f9a3-4ca9-b5f6-b7b3282a8eb3" alt="" width="408"><figcaption></figcaption></figure>

### Den WiFi-Mitschnitt entschlüsseln

Airdecap-ng entschlüsselt die WiFi-Schicht, wenn Sie den richtigen Netzwerknamen und die Passphrase angeben. Der resultierende Mitschnitt kann dann untersucht werden.

Eine falsche Passphrase entschlüsselt den Datenverkehr nicht:

{% code overflow="wrap" %}

```bash
airdecap-ng -e jordan -p PasswordIncorrect1234 capture_jordan2-01.cap
```

{% endcode %}

Verwenden Sie die richtige Passphrase, um den Mitschnitt zu entschlüsseln:

{% code overflow="wrap" %}

```bash
airdecap-ng -e jordan -p 92212345 capture_jordan2-01.cap
```

{% endcode %}

<figure><img src="https://2955439919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2FivLAinMs1qqTvdn1t4sx%2Fimage.png?alt=media&amp;token=fef82bc2-79d9-4ec2-85f8-973237d61bb2" alt=""><figcaption></figcaption></figure>

### HTTP-Anfragen untersuchen

Airdecap-ng erstellt eine entschlüsselte Mitschnittdatei. Filtern Sie sie nach HTTP-POST-Anfragen:

{% code overflow="wrap" %}

```bash
tshark -r capture_jordan-01-dec.cap -Y "http.request.method==POST" -Tjson 2>/dev/null
```

{% endcode %}

Die Ausgabe zeigt übermittelte Formulardaten, wenn die Anwendung unverschlüsseltes HTTP verwendet.

<figure><img src="https://2955439919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2FlOQYVAEg5u63rOakP70d%2Fimage.png?alt=media&amp;token=4817a197-4c67-4345-a876-5fb0ffd729a6" alt=""><figcaption></figcaption></figure>

Um übermittelte HTTP-Felder genauer zu untersuchen:

{% code overflow="wrap" %}

```bash
tshark -r capture_jordan-01-dec.cap -Y "http.request.method==POST" -Tjson -e http.file_data 2>/dev/null
```

{% endcode %}

Die WiFi-Entschlüsselung entschlüsselt kein HTTPS. HTTPS-Anfragekörper bleiben geschützt.

<figure><img src="https://2955439919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2FoZXDNUCZ75W3pexPoqLs%2Fimage.png?alt=media&amp;token=8152b932-f6f3-47fe-b991-e94e5b47866b" 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 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/hacking-wifi/wpa-wpa2-psk-network-attacks/traffic-manipulation/airdecap-packet-decryption.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.
