Skip to content

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

update provider and add new kb/mouse cmd to help

Geo6c400258a035
diff --git a/src/Controllers/UtilityController.cpp b/src/Controllers/UtilityController.cpp
index 83eec6f6..eeb9d9f5 100644
--- a/src/Controllers/UtilityController.cpp
+++ b/src/Controllers/UtilityController.cpp
@@ -395,9 +395,10 @@ void UtilityController::handleHelp() {
terminalView.println("");
terminalView.println(" 12. USB:");
terminalView.println(" stick - Mount SD as USB");
- terminalView.println(" keyboard <text> - Type over USB");
+ terminalView.println(" keyboard - Start keyboard bridge");
terminalView.println(" mouse <x> <y> - Move mouse cursor");
terminalView.println(" mouse click - Left click");
+ terminalView.println(" mouse jiggle [ms] - Random mouse moves");
terminalView.println(" gamepad <key> - Press button");
terminalView.println(" reset - Reset interface");
terminalView.println(" config - Configure settings");
@@ -410,9 +411,10 @@ void UtilityController::handleHelp() {
terminalView.println(" spoof <mac> - Spoof mac address");
terminalView.println(" status - Show current status");
terminalView.println(" server - Create an HID server");
- terminalView.println(" keyboard <text> - Type over Bluetooth");
+ terminalView.println(" keyboard - Start keyboard bridge");
terminalView.println(" mouse <x> <y> - Move mouse cursor");
terminalView.println(" mouse click - Mouse click");
+ terminalView.println(" mouse jiggle [ms] - Random mouse moves");
terminalView.println(" reset - Reset interface");
terminalView.println("");
diff --git a/src/Providers/DependencyProvider.cpp b/src/Providers/DependencyProvider.cpp
index 5a8ff6ea..19196bc1 100644
--- a/src/Providers/DependencyProvider.cpp
+++ b/src/Providers/DependencyProvider.cpp
@@ -74,7 +74,7 @@ DependencyProvider::DependencyProvider(ITerminalView &terminalView, IDeviceView
threeWireController(terminalView, terminalInput, userInputManager, threeWireService, argTransformer, threeWireEepromShell),
dioController(terminalView, terminalInput, pinService, argTransformer),
ledController(terminalView, terminalInput, ledService, argTransformer, userInputManager),
- bluetoothController(terminalView, terminalInput, bluetoothService, argTransformer),
+ bluetoothController(terminalView, terminalInput, deviceInput, bluetoothService, argTransformer, userInputManager),
i2sController(terminalView, terminalInput, i2sService, argTransformer, userInputManager),
wifiController(terminalView, terminalInput, deviceInput, wifiService, wifiScannerService, ethernetService, sshService, netcatService, nmapService, icmpService, nvsService, argTransformer, userInputManager),
canController(terminalView, terminalInput, userInputManager, canService, argTransformer),