# Evil Portal

## Basic Portal

I was unable to clone the repoitory to my pineapple. so I glones them ot my machine and copied them to the pineapple under `/root/portals/`. I took some of [Kleo Evil Portals](https://github.com/kleo/evilportals) as I'm not skilled enough to make my own.

```bash
git clone <https://github.com/Th4ntis/Evil-Portals.git>
scp -r Evil-Portals/* root@172.16.42.1:/root/portals/
```

Download the Evil Portal module from the Pineapple Modules

<figure><img src="https://667808901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTdW22AGCceN8oUXfdlKI%2Fuploads%2Fdpb2zDNW5vmzraZE6BKF%2FPasted%20image%2020250909133457.png?alt=media&#x26;token=5aebf03d-a685-4570-800c-12db55601882" alt=""><figcaption></figcaption></figure>

Once installed open the module, and install dependencies. Now we can preview the portals by activating the Portal

<figure><img src="https://667808901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTdW22AGCceN8oUXfdlKI%2Fuploads%2FfGHTxX27dRg67AtAgCme%2FPasted%20image%2020250909133502.png?alt=media&#x26;token=9411ed16-8a4a-407d-9488-6c9c9b6b2359" alt=""><figcaption></figcaption></figure>

Once activated, start the web server, then we can preview it.

<figure><img src="https://667808901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTdW22AGCceN8oUXfdlKI%2Fuploads%2FB81NLSdhTtB7Q4TKicHB%2FPasted%20image%2020250909133505.png?alt=media&#x26;token=e9636720-74c2-4549-bcaf-e8c46dfcadb3" alt=""><figcaption></figcaption></figure>

Now, we go to our OpenAP, set the desired WiFi name, BSSID, and channel.

<figure><img src="https://667808901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTdW22AGCceN8oUXfdlKI%2Fuploads%2Ffk7N7mEIRdnJbCJeKbTg%2FPasted%20image%2020250909133511.png?alt=media&#x26;token=798f8ac4-0609-40b5-9cce-445a7aa0b2c2" alt=""><figcaption></figcaption></figure>

Start the server with the Evil Portal, now when a client is connected, on the home page we will see their MAC address and IP address.

<figure><img src="https://667808901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTdW22AGCceN8oUXfdlKI%2Fuploads%2FkNgtawbNZK0WbGnhNS7h%2FPasted%20image%2020250909133516.png?alt=media&#x26;token=c7735e73-6fc2-43e1-9b7c-c1dfa992f213" alt=""><figcaption></figcaption></figure>

Take the IP address and add it into the Evil Portals allowed clients.

<figure><img src="https://667808901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTdW22AGCceN8oUXfdlKI%2Fuploads%2FPA093uhQnLRXqKw9hYau%2FPasted%20image%2020250909133521.png?alt=media&#x26;token=7a393aa7-a6d7-475b-9a1a-da6e216e24db" alt=""><figcaption></figcaption></figure>

Now when the client is connected they are sent to an authorization login page, Google in the case.

<figure><img src="https://667808901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTdW22AGCceN8oUXfdlKI%2Fuploads%2FrzCHyjktfw6LMnDvjzkP%2FPasted%20image%2020250909133526.png?alt=media&#x26;token=92b2fc2e-d5c8-447a-9e88-d9621bc5b874" alt=""><figcaption></figcaption></figure>

If they enter their credentials, their page shows they aren't authorized.

<figure><img src="https://667808901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTdW22AGCceN8oUXfdlKI%2Fuploads%2FImoeWHUfjgJYyOft90Zo%2FPasted%20image%2020250909133531.png?alt=media&#x26;token=f5494558-4bcd-4a24-aa7b-099bc6146cbf" alt=""><figcaption></figcaption></figure>

We also get a notification our Pineapple page.

<figure><img src="https://667808901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTdW22AGCceN8oUXfdlKI%2Fuploads%2FMt19OFW9xA0i21zoy8gF%2FPasted%20image%2020250909133536.png?alt=media&#x26;token=a9d956ac-f88e-4a3d-9818-a2c324a6e64d" alt=""><figcaption></figcaption></figure>

We can view the logs from the Evil Portal page to see the email, password, hostname, MAC, and IP that put in their credentials.

<figure><img src="https://667808901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTdW22AGCceN8oUXfdlKI%2Fuploads%2FI4ONZDfAaL1B0RHLmf7s%2FPasted%20image%2020250909133541.png?alt=media&#x26;token=54c2492e-a237-47d3-8208-9b11ccca04d4" alt=""><figcaption></figcaption></figure>

<figure><img src="https://667808901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTdW22AGCceN8oUXfdlKI%2Fuploads%2F2S3aC2CkDzDV7nrHXCK4%2FPasted%20image%2020250909133545.png?alt=media&#x26;token=cdb2a600-9d66-4c66-8063-6062a388a535" alt=""><figcaption></figcaption></figure>
