> 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/evil-twin/eviltrust-social-network-credential-capture.md).

# evilTrust - ソーシャルネットワークの認証情報取得

許可された evilTrust ラボで、ソーシャルネットワークの認証情報取得リスクを検証する。

## ソーシャルネットワークの認証情報取得

このワークフローは、書面による許可とテストアカウントがある場合に使用してください。

この例では次のツールを使用します：

{% embed url="<https://github.com/s4vitar/evilTrust>" %}

### evilTrust を起動する

evilTrust を実行します：

{% code overflow="wrap" %}

```bash
./evilTrust.sh
```

{% endcode %}

<figure><img src="https://2001299964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2FjBicR99iKCFDrGSeEhn1%2Fimage.png?alt=media&amp;token=dab90ddf-c962-4818-9d8e-3bf39ea90b80" alt=""><figcaption></figcaption></figure>

### ターミナルモードを使用する

ターミナルモードで evilTrust を実行します：

{% code overflow="wrap" %}

```bash
./evilTrust.sh -m terminal
```

{% endcode %}

### ワイヤレスインターフェースを選択する

ワイヤレスインターフェースを選択します。この例では `wlan0mon`.

<figure><img src="https://2001299964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2F9OdZXeN5wY8ZOaSIUH1z%2Fimage.png?alt=media&amp;token=472f160e-bc5f-4131-ba86-e98cad7c8b28" alt="" width="563"><figcaption></figcaption></figure>

### ネットワークを構成する

ネットワーク名を入力する `freeWifi` そしてネットワークチャネルを `9`.

<figure><img src="https://2001299964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2FOnr4cm0JXYMJhoIfFIIw%2Fimage.png?alt=media&amp;token=e766228a-66f7-4f4e-b335-dc9dfda1065b" alt=""><figcaption></figcaption></figure>

### ポータルをテストする

クライアントが接続すると、evilTrust は選択したソーシャルネットワークのポータルを表示します。

この例では Google のポータルを表示します。

<figure><img src="https://2001299964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2FNI5pqNTPyHGpM0K6ohhm%2Fimage.png?alt=media&amp;token=a52fbfde-4db3-4fb1-8550-dd4ba3d5a8fd" alt=""><figcaption></figcaption></figure>

### 送信されたテストデータを確認する

ターミナルには、テストポータルを通じて送信された値が表示されます。

<figure><img src="https://2001299964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2FRH11YPttPXTmauD7yvKV%2Fimage.png?alt=media&amp;token=e224795a-f339-4d56-9b68-25dea7dea8dc" 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/evil-twin/eviltrust-social-network-credential-capture.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.
