A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol
C arduinobluetoothcan-busdebuggingeepromesp32flipperzerogpiohardware-hackingi2cjtagopenocdprotocolspwmradiorfidspisubghzuartwifi
minor fixes to the latest commits
Geo1e13d53b4406
diff --git a/src/Controllers/WifiController.cpp b/src/Controllers/WifiController.cppindex 55faf9f0..52995d69 100644--- a/src/Controllers/WifiController.cpp+++ b/src/Controllers/WifiController.cpp@@ -36,7 +36,7 @@ void WifiController::handleConnect(const TerminalCommand &cmd)std::string password;auto args = argTransformer.splitArgs(cmd.getSubcommand());- // No args provided, we need to scan and select networks+ // No args provided, we need to check saved creds or scan and select networksif (cmd.getSubcommand().empty()) {// Check saved credsdiff --git a/src/Services/NmapService.cpp b/src/Services/NmapService.cppindex 50bb6684..7a661d44 100644--- a/src/Services/NmapService.cpp+++ b/src/Services/NmapService.cpp@@ -338,10 +338,10 @@ void NmapService::scanTarget(const std::string &host, const std::vector<uint16_t#ifndef DEVICE_M5STICK- icmpService->startPingTask(host, 1, 1000, 200);- while (!icmpService->isReady())+ icmpService->startPingTask(host, 1, 1000, 200);+ while (!icmpService->isPingReady())vTaskDelay(pdMS_TO_TICKS(50));- if (icmpService->lastPingUp()) {+ if (icmpService->lastRc() == ping_rc_t::ping_ok) {this->report.append("Host is up (").append(std::to_string(icmpService->lastMedianMs())).append("ms latency).\r\n");}else {diff --git a/src/Vendors/wifi_atks.cpp b/src/Vendors/wifi_atks.cppindex afe150c5..4dbfa855 100644--- a/src/Vendors/wifi_atks.cpp+++ b/src/Vendors/wifi_atks.cpp@@ -9,6 +9,7 @@#include "vector"#include <Arduino.h>+void generateRandomWiFiMac(uint8_t *mac) {for (int i = 1; i < 6; i++) { mac[i] = random(0, 255); }}@@ -83,6 +84,7 @@ void nextChannel() {}}void beaconCreate(const char* ssid) {+// beacon frame definitionuint8_t beaconPacket[109] = {/* 0 - 3 */ 0x80,0x00,