SpacehuhnTech / esp8266_deauther

Affordable WiFi hacking platform for testing and learning
http://deauther.com
Other
13.55k stars 2.6k forks source link

Fake ssid doesn't work #1735

Closed WorstMaster closed 1 month ago

WorstMaster commented 2 months ago

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?

welcome[bot] commented 2 months ago

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 commented 2 months ago

include

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.