Enable Bad Msg on GUI

This commit is contained in:
Just Call Me Koko
2025-07-28 14:30:30 -04:00
parent 9722cce0ba
commit 6596b41029
3 changed files with 6 additions and 6 deletions

View File

@@ -880,7 +880,7 @@ void CommandLine::runCommand(String input) {
Serial.println("Starting Bad Msg attack against all stations. Stop with " + (String)STOPSCAN_CMD);
#ifdef HAS_SCREEN
display_obj.clearScreen();
menu_functions_obj.drawStatusBar();
menu_function_obj.drawStatusBar();
#endif
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);
#ifdef HAS_SCREEN
display_obj.clearScreen();
menu_functions_obj.drawStatusBar();
menu_function_obj.drawStatusBar();
#endif
wifi_scan_obj.StartScan(WIFI_ATTACK_BAD_MSG_TARGETED, TFT_YELLOW);
}

View File

@@ -2326,7 +2326,7 @@ void MenuFunctions::RunSetup()
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();
this->drawStatusBar();
wifi_scan_obj.StartScan(WIFI_ATTACK_BAD_MSG, TFT_RED);
@@ -2335,7 +2335,7 @@ void MenuFunctions::RunSetup()
display_obj.clearScreen();
this->drawStatusBar();
wifi_scan_obj.StartScan(WIFI_ATTACK_BAD_MSG_TARGETED, TFT_YELLOW);
});*/
});
evilPortalMenu.parentMenu = &wifiAttackMenu;
this->addNodes(&evilPortalMenu, text09, TFTLIGHTGREY, NULL, 0, [this]() {

View File

@@ -7867,7 +7867,7 @@ void WiFiScan::main(uint32_t currentTime)
initTime = millis();
String displayString = "";
String displayString2 = "";
displayString.concat(text18);
//displayString.concat(text18);
displayString.concat(packets_sent);
for (int x = 0; x < STANDARD_FONT_CHAR_LIMIT; x++)
displayString2.concat(" ");
@@ -7876,7 +7876,7 @@ void WiFiScan::main(uint32_t currentTime)
display_obj.showCenterText(displayString2, TFT_HEIGHT / 2);
display_obj.showCenterText(displayString, TFT_HEIGHT / 2);
#endif
packets_sent = 0;
//packets_sent = 0;
}
}
else if (currentScanMode == WIFI_ATTACK_DEAUTH) {