Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fake ssid doesn't work #1735

Open
WorstMaster opened this issue Sep 5, 2024 · 2 comments
Open

Fake ssid doesn't work #1735

WorstMaster opened this issue Sep 5, 2024 · 2 comments
Labels
help wanted Requesting support

Comments

@WorstMaster
Copy link

i cant make fake ssids im using Nodemcu esp8266
but fake ssids doesnt shown in my phone or laptop .
have you any solutions for me?

@WorstMaster WorstMaster added the help wanted Requesting support label Sep 5, 2024
Copy link

welcome bot commented Sep 5, 2024

Congrats on opening your first issue on this repository! 🎉
This is a automated message to help you avoid common pitfalls when asking for help online.
👉 Be sure to:
* 🇬🇧 Communicate in English so everybody can understand you
* 📖 Have a look at the Wiki and README for information
* 🔍 Search for similar issues (open and closed)
* ✍️ Provide enough information to understand, recreate and help out with your problem
* ℹ️ Let us know if you find a solution and please share it with us
* 📕 Close the issue when your problem has been solved

@harvez
Copy link

harvez commented Sep 15, 2024

#include <WiFi.h>

const char* fakeSSID = "MyFakeSSID";
const char* fakePassword = "12345678";

void setup() {
Serial.begin(115200);

WiFi.mode(WIFI_AP);
WiFi.softAP(fakeSSID, fakePassword);

Serial.println("Fake SSID created: " + String(fakeSSID));
Serial.println("Fake password: " + String(fakePassword));
}

void loop() {
// Do nothing in the loop
}
In this code, we use the WiFi.mode() function to set the ESP8266 to act as an access point (AP) mode. Then, we use the WiFi.softAP() function to create a fake SSID and password for the access point.

To connect to this fake SSID, you can use any WiFi-enabled device (like a smartphone or laptop) and enter the fake SSID and password. However, keep in mind that this is a simulated network and the actual data transmitted over this network will not go through the ESP8266.

Please note that creating fake SSIDs is a security risk and should be done only for educational or testing purposes. In a real-world scenario, it is not recommended to create and broadcast fake SSIDs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Requesting support
Projects
None yet
Development

No branches or pull requests

2 participants