> 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/hacking-wifi/wpa-wpa2-psk-network-attacks/evil-twin/eviltrust-social-network-credential-capture.md).

# evilTrust - Social Network Credential Capture

Validate social network credential-capture risks in an authorized evilTrust lab.

## Social Network Credential Capture

Use this workflow with written authorization and test accounts.

This example uses the following tool:

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

### Start evilTrust

Run evilTrust:

{% code overflow="wrap" %}

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

{% endcode %}

<figure><img src="https://131707722-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>

### Use terminal mode

Run evilTrust in terminal mode:

{% code overflow="wrap" %}

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

{% endcode %}

### Select the wireless interface

Select the wireless interface. This example uses `wlan0mon`.

<figure><img src="https://131707722-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>

### Configure the network

Enter the network name `freeWifi` and set the network channel to `9`.

<figure><img src="https://131707722-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>

### Test the portal

When a client connects, evilTrust displays the selected social network portal.

This example displays a Google portal.

<figure><img src="https://131707722-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>

### Review submitted test data

The terminal displays the values submitted through the test portal.

<figure><img src="https://131707722-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/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.
