mirror of
https://github.com/justcallmekoko/ESP32Marauder.git
synced 2025-12-23 15:38:14 -08:00
Enable Bad Msg on GUI
This commit is contained in:
@@ -880,7 +880,7 @@ void CommandLine::runCommand(String input) {
|
|||||||
Serial.println("Starting Bad Msg attack against all stations. Stop with " + (String)STOPSCAN_CMD);
|
Serial.println("Starting Bad Msg attack against all stations. Stop with " + (String)STOPSCAN_CMD);
|
||||||
#ifdef HAS_SCREEN
|
#ifdef HAS_SCREEN
|
||||||
display_obj.clearScreen();
|
display_obj.clearScreen();
|
||||||
menu_functions_obj.drawStatusBar();
|
menu_function_obj.drawStatusBar();
|
||||||
#endif
|
#endif
|
||||||
wifi_scan_obj.StartScan(WIFI_ATTACK_BAD_MSG, TFT_RED);
|
wifi_scan_obj.StartScan(WIFI_ATTACK_BAD_MSG, TFT_RED);
|
||||||
}
|
}
|
||||||
@@ -889,7 +889,7 @@ void CommandLine::runCommand(String input) {
|
|||||||
Serial.println("Starting targeted Bad Msg attack. Stop with " + (String)STOPSCAN_CMD);
|
Serial.println("Starting targeted Bad Msg attack. Stop with " + (String)STOPSCAN_CMD);
|
||||||
#ifdef HAS_SCREEN
|
#ifdef HAS_SCREEN
|
||||||
display_obj.clearScreen();
|
display_obj.clearScreen();
|
||||||
menu_functions_obj.drawStatusBar();
|
menu_function_obj.drawStatusBar();
|
||||||
#endif
|
#endif
|
||||||
wifi_scan_obj.StartScan(WIFI_ATTACK_BAD_MSG_TARGETED, TFT_YELLOW);
|
wifi_scan_obj.StartScan(WIFI_ATTACK_BAD_MSG_TARGETED, TFT_YELLOW);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2326,7 +2326,7 @@ void MenuFunctions::RunSetup()
|
|||||||
this->changeMenu(&selectProbeSSIDsMenu);
|
this->changeMenu(&selectProbeSSIDsMenu);
|
||||||
});
|
});
|
||||||
|
|
||||||
/*this->addNodes(&wifiAttackMenu, "Bad Msg", TFTRED, NULL, DEAUTH_SNIFF, [this]() {
|
this->addNodes(&wifiAttackMenu, "Bad Msg", TFTRED, NULL, DEAUTH_SNIFF, [this]() {
|
||||||
display_obj.clearScreen();
|
display_obj.clearScreen();
|
||||||
this->drawStatusBar();
|
this->drawStatusBar();
|
||||||
wifi_scan_obj.StartScan(WIFI_ATTACK_BAD_MSG, TFT_RED);
|
wifi_scan_obj.StartScan(WIFI_ATTACK_BAD_MSG, TFT_RED);
|
||||||
@@ -2335,7 +2335,7 @@ void MenuFunctions::RunSetup()
|
|||||||
display_obj.clearScreen();
|
display_obj.clearScreen();
|
||||||
this->drawStatusBar();
|
this->drawStatusBar();
|
||||||
wifi_scan_obj.StartScan(WIFI_ATTACK_BAD_MSG_TARGETED, TFT_YELLOW);
|
wifi_scan_obj.StartScan(WIFI_ATTACK_BAD_MSG_TARGETED, TFT_YELLOW);
|
||||||
});*/
|
});
|
||||||
|
|
||||||
evilPortalMenu.parentMenu = &wifiAttackMenu;
|
evilPortalMenu.parentMenu = &wifiAttackMenu;
|
||||||
this->addNodes(&evilPortalMenu, text09, TFTLIGHTGREY, NULL, 0, [this]() {
|
this->addNodes(&evilPortalMenu, text09, TFTLIGHTGREY, NULL, 0, [this]() {
|
||||||
|
|||||||
@@ -7867,7 +7867,7 @@ void WiFiScan::main(uint32_t currentTime)
|
|||||||
initTime = millis();
|
initTime = millis();
|
||||||
String displayString = "";
|
String displayString = "";
|
||||||
String displayString2 = "";
|
String displayString2 = "";
|
||||||
displayString.concat(text18);
|
//displayString.concat(text18);
|
||||||
displayString.concat(packets_sent);
|
displayString.concat(packets_sent);
|
||||||
for (int x = 0; x < STANDARD_FONT_CHAR_LIMIT; x++)
|
for (int x = 0; x < STANDARD_FONT_CHAR_LIMIT; x++)
|
||||||
displayString2.concat(" ");
|
displayString2.concat(" ");
|
||||||
@@ -7876,7 +7876,7 @@ void WiFiScan::main(uint32_t currentTime)
|
|||||||
display_obj.showCenterText(displayString2, TFT_HEIGHT / 2);
|
display_obj.showCenterText(displayString2, TFT_HEIGHT / 2);
|
||||||
display_obj.showCenterText(displayString, TFT_HEIGHT / 2);
|
display_obj.showCenterText(displayString, TFT_HEIGHT / 2);
|
||||||
#endif
|
#endif
|
||||||
packets_sent = 0;
|
//packets_sent = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (currentScanMode == WIFI_ATTACK_DEAUTH) {
|
else if (currentScanMode == WIFI_ATTACK_DEAUTH) {
|
||||||
|
|||||||
Reference in New Issue
Block a user