Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/disalad/esp8266-captive-portal

🔑 WiFi captive portal for ESP8266 for phishing Google accounts
https://github.com/disalad/esp8266-captive-portal

captive-portal esp8266 esp8266-webserver fake-login-pages phishing phishing-page

Last synced: 4 days ago
JSON representation

🔑 WiFi captive portal for ESP8266 for phishing Google accounts

Awesome Lists containing this project

README

        

# WiFi Captive Portal

screenshot of the project

## About The Project

This project creates a WiFi captive portal with a Google-style fake sign-in page. It captures user credentials and stores them in SPIFFS.

### Built With

- [ESP8266WiFi](https://arduino-esp8266.readthedocs.io/en/latest/esp8266wifi/readme.html)
- [DNSServer](https://arduino-esp8266.readthedocs.io/en/latest/esp8266wifi/readme.html#dnserver)
- [ESP8266WebServer](https://arduino-esp8266.readthedocs.io/en/latest/esp8266webserver/readme.html)
- [SPIFFS](https://arduino-esp8266.readthedocs.io/en/latest/filesystem.html)

## Getting Started

To get a local copy up and running, follow these simple steps.

### Prerequisites

- Arduino IDE
- ESP8266 board package installed in Arduino IDE

### Installation

1. Clone the repo

```sh
git clone https://github.com/disalad/ESP8266-Captive-Portal.git
```

2. Open the project in Arduino IDE
3. Select the correct board and port for your ESP8266 device
4. Upload the code to your ESP8266

### File Upload

1. Install the ESP8266 Sketch Data Upload tool
2. Upload the `data` folder contents to SPIFFS

```sh
Tools > ESP8266 Sketch Data Upload
```

## Usage

- Once deployed, connect to the WiFi network created by the ESP8266.
- A fake Google sign-in page will be displayed upon opening any webpage.
- Entered credentials will be saved in SPIFFS.
- To view saved credentials, navigate to:

```
http://172.0.0.1/creds
```

- The WiFi network SSID (name) can be modified by changing the following line in `captive_portal.ino`:

```cpp
#define SSID_NAME "Free WiFi"
```

## Credits

- [https://github.com/adamff1/ESP8266-Captive-Portal](https://github.com/adamff1/ESP8266-Captive-Portal)

## Contact

Project Link: [https://github.com/disalad/ESP8266-Captive-Portal
](https://github.com/disalad/ESP8266-Captive-Portal)