This is a Arduino script to host wifi network using ESP8266 which would work as a phishing page. When a user connects to this wifi network with your preffered SSID They would be redirected to login into the wifi as most commercial wifi networks do. But this login page is for Google Gmail, and once the user submits the credentials they are stored in the ESP8266 for the attacker to view later. After submitting the credentials successfully the user would be shown a "Connected" page but there would be no network access as the ESP8266 does not have any network access.
TL;DR
This is a phishing page of Google Gmail with ESP8266.
Login Wifi | Submitted Successfully | View Credentials |
---|---|---|
![]() |
![]() |
![]() |
- Install Arduino IDE from official website (You need Arduino IDE version 1.8.X to upload file system)
- Install required libraries and dependencies for ESP8266 (Guide)
- Install SPIFFS tool for ESP8266
- Clone this repo
git clone https://github.com/Wraient/Google-Phishing-with-ESP8266
- Open
esp8266_phishing.ino
and change SSID - Copy
index.html
in your data folder or copydata/
in your Arduino project root - Flash SPIFFS
- Flash script
- Connect to the wifi network and navigate to
connectivitycheck.gstatic.com/getinfo
on an Android orhttp://www.msftconnecttest.com/getinfo
on Windows to see your collected passwords - Navigate to
baseurl/deleteinfo
if you want to clear all the collected passwords - Profit ????
P.S. Yes all the links on the page works.
*Only for educational purposes ofc. Have fun skids.