> 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.md).

# Evil Twin

Evil Twin rogue access point and captive portal workflows.

These pages group rogue access point, DHCP, routing, captive portal, and credential-flow risk notes into one workflow.

<table data-view="cards" data-full-width="false" data-search="false"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h3><i class="fa-mask" style="color:$primary;">:mask:</i></h3></td><td><h4>Evil Twin Attack</h4></td><td>Understand rogue access point impersonation and defensive controls.</td><td><a href="/hacking-wifi/wpa-wpa2-psk-network-attacks/evil-twin/evil-twin-attack.md">Evil Twin Attack</a></td></tr><tr><td><h3><i class="fa-mask" style="color:$primary;">:mask:</i></h3></td><td><h4>EvilTwin - Configuring DHCPD</h4></td><td>Configure DHCP leases for the Evil Twin test network.</td><td><a href="/hacking-wifi/wpa-wpa2-psk-network-attacks/evil-twin/eviltwin-configuring-dhcpd.md">EvilTwin - Configuring DHCPD</a></td></tr><tr><td><h3><i class="fa-mask" style="color:$primary;">:mask:</i></h3></td><td><h4>EvilTwin - Template Download and Usage</h4></td><td>Prepare the captive portal template and supporting web services.</td><td><a href="/hacking-wifi/wpa-wpa2-psk-network-attacks/evil-twin/eviltwin-template-download-and-usage.md">EvilTwin - Template Download and Usage</a></td></tr><tr><td><h3><i class="fa-mask" style="color:$primary;">:mask:</i></h3></td><td><h4>EvilTwin - Creating a MySQL Database</h4></td><td>Create the database used by the captive portal workflow.</td><td><a href="/hacking-wifi/wpa-wpa2-psk-network-attacks/evil-twin/eviltwin-creating-a-mysql-database.md">EvilTwin - Creating a MySQL Database</a></td></tr><tr><td><h3><i class="fa-mask" style="color:$primary;">:mask:</i></h3></td><td><h4>EvilTwin - Mounting the Access Point with Airbase</h4></td><td>Launch the rogue access point with Airbase-ng.</td><td><a href="/hacking-wifi/wpa-wpa2-psk-network-attacks/evil-twin/eviltwin-mounting-the-access-point-with-airbase.md">EvilTwin - Mounting the Access Point with Airbase</a></td></tr><tr><td><h3><i class="fa-mask" style="color:$primary;">:mask:</i></h3></td><td><h4>EvilTwin - iptables Rules and Network Interfaces</h4></td><td>Configure forwarding, NAT, and interface routing.</td><td><a href="/hacking-wifi/wpa-wpa2-psk-network-attacks/evil-twin/eviltwin-iptables-rules-and-network-interfaces.md">EvilTwin - iptables Rules and Network Interfaces</a></td></tr><tr><td><h3><i class="fa-mask" style="color:$primary;">:mask:</i></h3></td><td><h4>EvilTwin - Deploying the Attack</h4></td><td>Bring together AP, DHCP, routing, and portal components.</td><td><a href="/hacking-wifi/wpa-wpa2-psk-network-attacks/evil-twin/eviltwin-deploying-the-attack.md">EvilTwin - Deploying the Attack</a></td></tr><tr><td><h3><i class="fa-mask" style="color:$primary;">:mask:</i></h3></td><td><h4>evilTrust - Social Network Credential Capture</h4></td><td>Review credential capture workflow risks in a test network.</td><td><a href="/hacking-wifi/wpa-wpa2-psk-network-attacks/evil-twin/eviltrust-social-network-credential-capture.md">evilTrust - Social Network Credential Capture</a></td></tr></tbody></table>


---

# 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.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.
