mirror of
https://github.com/justcallmekoko/ESP32Marauder.git
synced 2025-12-22 07:10:47 -08:00
Set MACs before every wifi function
This commit is contained in:
@@ -1717,6 +1717,7 @@ void MenuFunctions::RunSetup()
|
||||
display_obj.clearScreen();
|
||||
this->drawStatusBar();
|
||||
wifi_scan_obj.StartScan(WIFI_SCAN_EVIL_PORTAL, TFT_ORANGE);
|
||||
wifi_scan_obj.setMac();
|
||||
});
|
||||
this->addNodes(&wifiAttackMenu, text_table1[54], TFTRED, NULL, DEAUTH_SNIFF, [this]() {
|
||||
display_obj.clearScreen();
|
||||
@@ -1943,10 +1944,10 @@ void MenuFunctions::RunSetup()
|
||||
});
|
||||
#endif
|
||||
|
||||
/*this->addNodes(&wifiGeneralMenu, "Generate AP MAC", TFTLIGHTGREY, NULL, 0, [this]() {
|
||||
this->changeMenu(genAPMacMenu.parentMenu);
|
||||
this->addNodes(&wifiGeneralMenu, "Generate AP MAC", TFTLIGHTGREY, NULL, 0, [this]() {
|
||||
this->changeMenu(&genAPMacMenu);
|
||||
wifi_scan_obj.RunGenerateRandomMac(true);
|
||||
});*/
|
||||
});
|
||||
|
||||
// Menu for generating and setting access point MAC
|
||||
genAPMacMenu.parentMenu = &wifiGeneralMenu;
|
||||
|
||||
Reference in New Issue
Block a user