Coder Social home page Coder Social logo

adamff-dev / esp8266-captive-portal Goto Github PK

View Code? Open in Web Editor NEW
709.0 42.0 150.0 4.59 MB

:key: WiFi captive portal for ESP8266 for phishing WiFi passwords

License: MIT License

C++ 100.00%
nodemcu nodemcu-arduino wifi hack wifi-hacking wifi-password captive-portal captive portal phishing

esp8266-captive-portal's Introduction

ESP8266 WiFi Captive Portal

Disclaimer

This project is for testing and educational purposes. Use it only against your own networks and devices. I don't take any responsibility for what you do with this program.

About this project

WiFi captive portal for the NodeMCU (ESP8266 Module) with DNS spoofing.

The built-in LED will blink 5 times when a password is posted.

Warning! Your saved passwords will not disappear when you restart/power off the ESP8266.

Note: If you want to see the stored passwords go to "172.0.0.1/pass". For changing the SSID, go to "172.0.0.1/ssid"

V. 2.0 (Fake sign in): https://github.com/125K/ESP8266_WiFi_Captive_Portal_2.0

Showcase

Screenshots

172.0.0.1/index 172.0.0.1/post 172.0.0.1/pass 172.0.0.1/ssid
This is the main page. Here the user will write his password and send it. This is the post page. The user will be redirected here after posting the password. This is where the attacker can retrieve all the passwords that has been posted. Here the attacker can change the SSID name of the Access Point on the go.

Here you can donate if you liked my project and you want to support me:

Buy Me A Coffee

Installation (ESP8266 Flasher - Easy way)

  1. Download ESP8266 Flasher.

  2. Download the release.bin file.

  3. Open the ESP8266 Flasher and select the Node MCU port

  1. Then, go to the config tab and select the .bin file you've just downloaded.

  1. Finally, go back to the first tab and press "Flash"

  2. Your Node MCU is ready!

Installation (Arduino IDE)

  1. Open your Arduino IDE and go to "File -> Preferences -> Boards Manager URLs" and paste the following link: http://arduino.esp8266.com/stable/package_esp8266com_index.json
  2. Go to "Tools -> Board -> Boards Manager", search "esp8266" and install esp8266
  3. Go to "Tools -> Board" and select you board"
  4. Download and open the sketch "WiFi_Captive_Portal.ino"
  5. You can optionally change some parameters like the SSID name and texts of the page like title, subtitle, text body...
  6. Upload the code into your board.
  7. You are done!

Check out my other projects

esp8266-captive-portal's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esp8266-captive-portal's Issues

Feature request

I had turned on the captive portal.
I got some credentials.
When I turn off the esp, I lost all the credentials.
Is there any way to store the credentials in the esp permanently.

Suggestion to add.

Can i ask something, this supports deauth like fluxion or perform like fluxion just an captive portal?

I didn't try it but later. I dont know how to write code either.

If this is only an captive portal so i need 2 more devices to perform deauth & captive portal?

Of you could add something to your code like deauth it would be awesome too. (still not install)

I would like to hear your answer, thanks.

Write for us

I'm sorry for writing here but it was the only way to contact you,

You are good in the cybersecurity field? Then you can write for us about your own tool on GitHub and the use of it.
Your article will be published with your name and a link to your website and social media accounts if you want. Please reply to us at Email: kalitutwrite @ gmail.com
Walid Salame
kalitut .com
Twitter:@xKaliSec

SSID

So whenever I want to change the SSID I have to upload the code again ?

Change UI

Hi can the ui be changed using html/css ? Would like to redesign it.

Thanks.

I Have A Big Request

Sir, I Appreciate and love your project
As you have created a great project
I believe about 80% people use TP Link Router as their own Wi-Fi Device
And this time i just want to say please make a wifi captive portal of TP Link Router
I have searched a lot for the TP Link Captive Portal
But i have just founded an website that provides me such information of TP Link Captive Portal
And also founded a github project repository of the source code
But in that website they mentioned about Micro Python and i really a beginner about that thing
So please sir, make a TP Link Captive Portal by modifying the source Code
Please translate the website if you're unable to understand
Project Website
Github Source Code

How to install?

Is there any other way to install this other than using Arduino ?

Issue with Arduino.

When I upload it through Arduino I get the following issue:
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header

Any help ?

And through the ESP8266 flasher when I click flash, it starts but has no ending, the light on the nodemcu start blinking real fast and it doesn't do anywhing.

Any help on either case would help! Thanks

Adding email input

Would it be possible to add an email input in addition to the password input to be saved? I would like it to look like you are creating an account to use the free wifi.

Changing SSID name

Hello,
First I would like to say, holy shit, this is pretty cool!

Second I can only flash the .BIN file with NodeMCU, the Arduino source keeps giving me errors.

Arduino: 1.8.12 (Mac OS X), Board: "Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

WiFi_Captive_Portal:31:3: error: expected ',' or ';' before 'String'
} String arg=webServer.arg(argName);
^
WiFi_Captive_Portal:32:3: error: 'a' does not name a type
a.replace("<","<");a.replace(">",">");
^
WiFi_Captive_Portal:32:25: error: 'a' does not name a type
a.replace("<","<");a.replace(">",">");
^
WiFi_Captive_Portal:33:3: error: 'a' does not name a type
a.substring(0,200); return a; }
^
WiFi_Captive_Portal:33:23: error: expected unqualified-id before 'return'
a.substring(0,200); return a; }
^
WiFi_Captive_Portal:33:33: error: expected declaration before '}' token
a.substring(0,200); return a; }
^
exit status 1
expected ',' or ';' before 'String'

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

All I'm trying to do is change the SSID name from "My SSID" to something else, I don't touch any of the code.

Any help or pointers, something to read on how to fix this would be amazing.

Thank you.

New Feature Request

Please include a page to scan the nearby access point and
Change SSID to one which is surrounded you.

Also add a administration page to change SSID, View password instead of 172.0.0.1/pass and 172.0.01/ssid.

How can I access the passwords?

I'm testing this on myself, I connect to the captive portal type a pass, it tells me it's uodating and redirecting.
But how do I open a browser and navigate to the right address, my device disconnects from the fake wifi once I open a ios browser.

Please advise.

Thanks!

i have recommendation

it would be nice if you embed here the wifi deauther by spacehun to make it all in one tool.

I am waiting for your respond if it is capable.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.