Allow cloning of Evil Twin SSIDs from WiFi Scan results

This commit is contained in:
Noah Axon 2024-01-07 02:54:10 -06:00
parent 06e15db65c
commit c624a0d607
2 changed files with 10 additions and 2 deletions

View File

@ -5,10 +5,10 @@
#define STICK_C_PLUS
//#define STICK_C_PLUS2
//#define STICK_C
//#define CARDPUTER
//define CARDPUTER
// -=-=- Uncommenting more than one at a time will result in errors -=-=-
String buildver="2.2.4";
String buildver="2.3.0";
#define BGCOLOR BLACK
#define FGCOLOR GREEN
@ -1507,6 +1507,12 @@ void wscan_result_loop(){
DISP.printf("Crypt: %s\n", encryptType);
DISP.print("BSSID:\n" + WiFi.BSSIDstr(i));
DISP.printf("\nNext: Back\n");
DISP.printf("Hold Select: Clone\n");
if(check_select_press()){
apSsidName=WiFi.SSID(cursor);
isSwitching=true;
current_proc=19;
}
}
}

View File

@ -211,6 +211,8 @@ void shutdownWebServer() {
webServer.stop();
Serial.println("Setting WiFi to STA mode");
WiFi.mode(WIFI_MODE_STA);
Serial.println("Resetting SSID");
getSSID();
}
void setupWebServer() {