> 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/ja/hacking-wifi/wpa-wpa2-psk-network-attacks/password-auditing/using-hcxpcaptool-and-recovering-the-password.md).

# パスワード監査用にキャプチャを準備する

オフラインのパスワード強度テスト用に無線キャプチャを変換する。

キャプチャを、監査ツールでサポートされている形式に変換します。

このワークフローはパスワード強度をテストします。WPA/WPA2暗号化を回避するものではありません。

### キャプチャを変換

キャプチャからハッシュ出力を作成します:

```bash
hcxpcapngtool -z myHashes Capture.pcapng
```

オフライン監査を開始する前に、生成された出力を確認します。

<figure><img src="https://2001299964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2FS09zfquUwvZ1JT7PWC5Y%2Fimage.png?alt=media&amp;token=f44fbae0-f6eb-41b0-8e28-84c2f766e46e" alt=""><figcaption></figcaption></figure>

### 出力を確認

出力に期待される認証情報が含まれていることを確認します。

ファイルは安全に保管してください。機密の認証データとして扱ってください。

<figure><img src="https://2001299964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2FL47DkCUF20ivLMO4bWcE%2Fimage.png?alt=media&amp;token=c9e7e5ae-4279-4965-99eb-f352b1847e59" alt=""><figcaption></figcaption></figure>

### 承認済みのパスワード監査を実行

パスフレーズがポリシーを満たしているかどうかを評価するために、ワードリストを使用します:

```bash
john --wordlist=password.txt myHashes

hashcat -m 16800 -a 0 myHashes passwords.txt
```

レポートには、復元された認証情報を含めずに結果を記録します。

<figure><img src="https://2001299964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2F1087AbEPXK8kMzdjZSTX%2Fimage.png?alt=media&amp;token=866015bb-60b8-4c61-8ca1-d69f80fe82a1" 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/ja/hacking-wifi/wpa-wpa2-psk-network-attacks/password-auditing/using-hcxpcaptool-and-recovering-the-password.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.
