Skip to content

A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol

remove usless connection check for deauth

Geo6e885d153163
diff --git a/src/Controllers/WifiController.cpp b/src/Controllers/WifiController.cpp
index 0f347a4a..36474de9 100644
--- a/src/Controllers/WifiController.cpp
+++ b/src/Controllers/WifiController.cpp
@@ -506,13 +506,7 @@ void WifiController::ensureConfigured()
Deauthenticate stations attack
*/
void WifiController::handleDeauth(const TerminalCommand &cmd)
-{
- if (!wifiService.isConnected())
- {
- terminalView.println("WiFi: Not connected. Use 'connect' first.");
- return;
- }
-
+{
auto target = cmd.getSubcommand();
// Select network if no target provided