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

# evilTrust - Captura de Credenciais de Rede Social

Valide riscos de captura de credenciais de redes sociais em um laboratório evilTrust autorizado.

## Captura de Credenciais de Rede Social

Use este fluxo de trabalho com autorização por escrito e contas de teste.

Este exemplo usa a seguinte ferramenta:

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

### Inicie o evilTrust

Execute o evilTrust:

{% code overflow="wrap" %}

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

{% endcode %}

<figure><img src="https://783634792-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 o modo terminal

Execute o evilTrust no modo terminal:

{% code overflow="wrap" %}

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

{% endcode %}

### Selecione a interface sem fio

Selecione a interface sem fio. Este exemplo usa `wlan0mon`.

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

Digite o nome da rede `freeWifi` e defina o canal da rede como `9`.

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

### Teste o portal

Quando um cliente se conecta, o evilTrust exibe o portal da rede social selecionado.

Este exemplo exibe um portal do Google.

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

### Revise os dados de teste enviados

O terminal exibe os valores enviados pelo portal de teste.

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