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

# evilTrust - captura de credenciales de redes sociales

Valida los riesgos de captura de credenciales de redes sociales en un laboratorio evilTrust autorizado.

## Captura de credenciales de redes sociales

Utilice este flujo de trabajo con autorización por escrito y cuentas de prueba.

Este ejemplo utiliza la siguiente herramienta:

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

### Iniciar evilTrust

Ejecute evilTrust:

{% code overflow="wrap" %}

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

{% endcode %}

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

Ejecute evilTrust en modo terminal:

{% code overflow="wrap" %}

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

{% endcode %}

### Seleccione la interfaz inalámbrica

Seleccione la interfaz inalámbrica. Este ejemplo usa `wlan0mon`.

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

Introduzca el nombre de la red `freeWifi` y establezca el canal de la red en `9`.

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

### Pruebe el portal

Cuando un cliente se conecta, evilTrust muestra el portal de la red social seleccionada.

Este ejemplo muestra un portal de Google.

<figure><img src="https://754079710-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 los datos de prueba enviados

La terminal muestra los valores enviados a través del portal de prueba.

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