diff --git a/esp8266_deauther/esp8266_deauther.ino b/esp8266_deauther/esp8266_deauther.ino index 71adc6b..20789ca 100644 --- a/esp8266_deauther/esp8266_deauther.ino +++ b/esp8266_deauther/esp8266_deauther.ino @@ -113,6 +113,9 @@ void setup() { setWifiChannel(settings.getChannel()); // load Wifi settings: SSID, password,... + #ifdef DEFAULT_SSID + if(settings.getSSID() == "pwned") settings.setSSID(DEFAULT_SSID); + #endif loadWifiConfigDefaults(); // dis/enable serial command interface @@ -160,4 +163,4 @@ void loop() { EEPROM.commit(); booted = true; } -} \ No newline at end of file +}