A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol
C arduinobluetoothcan-busdebuggingeepromesp32flipperzerogpiohardware-hackingi2cjtagopenocdprotocolspwmradiorfidspisubghzuartwifi
add telnet to wifi and ethernet controller
Geoeae3f24a1616
diff --git a/src/Controllers/EthernetController.cpp b/src/Controllers/EthernetController.cppindex 152bf141..c747db32 100644--- a/src/Controllers/EthernetController.cpp+++ b/src/Controllers/EthernetController.cpp@@ -13,6 +13,7 @@ void EthernetController::handleCommand(const TerminalCommand& cmd) {else if (root == "discovery") handleDiscovery(cmd);else if (root == "ping") handlePing(cmd);else if (root == "ssh") handleSsh(cmd);+ else if (root == "telnet") handleTelnet(cmd);else if (root == "status") handleStatus();else if (root == "http") handleHttp(cmd);else if (root == "reset") handleReset();diff --git a/src/Controllers/WifiController.cpp b/src/Controllers/WifiController.cppindex 304d253e..6f8f8815 100644--- a/src/Controllers/WifiController.cpp+++ b/src/Controllers/WifiController.cpp@@ -19,6 +19,7 @@ void WifiController::handleCommand(const TerminalCommand &cmd)else if (root == "sniff") handleSniff(cmd);else if (root == "webui") handleWebUi(cmd);else if (root == "ssh") handleSsh(cmd);+ else if (root == "telnet") handleTelnet(cmd);else if (root == "nc") handleNetcat(cmd);else if (root == "nmap") handleNmap(cmd);else if (root == "http") handleHttp(cmd);@@ -237,7 +238,7 @@ void WifiController::handleApSpam()terminalView.println("WiFi: Starting beacon spam... Press [ENTER] to stop.");while (true){- beaconCreate(); // func from Vendors/wifi_atks.h+ beaconCreate(""); // func from Vendors/wifi_atks.h// Enter press to stopchar key = terminalInput.readChar();