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

# evilTrust - capture d’identifiants de réseaux sociaux

Valider les risques de capture d’identifiants de réseaux sociaux dans un laboratoire evilTrust autorisé.

## Capture d'identifiants de réseau social

Utilisez ce flux de travail avec une autorisation écrite et des comptes de test.

Cet exemple utilise l'outil suivant :

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

### Démarrer evilTrust

Exécutez evilTrust :

{% code overflow="wrap" %}

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

{% endcode %}

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

### Utiliser le mode terminal

Exécutez evilTrust en mode terminal :

{% code overflow="wrap" %}

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

{% endcode %}

### Sélectionnez l'interface sans fil

Sélectionnez l'interface sans fil. Cet exemple utilise `wlan0mon`.

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

### Configurer le réseau

Saisissez le nom du réseau `freeWifi` et définissez le canal du réseau sur `9`.

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

### Tester le portail

Lorsqu'un client se connecte, evilTrust affiche le portail du réseau social sélectionné.

Cet exemple affiche un portail Google.

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

### Vérifier les données de test soumises

Le terminal affiche les valeurs soumises via le portail de test.

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