A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol
C arduinobluetoothcan-busdebuggingeepromesp32flipperzerogpiohardware-hackingi2cjtagopenocdprotocolspwmradiorfidspisubghzuartwifi
add new sys shell and service to provider
Geo64a0dd3a002e
diff --git a/src/Providers/DependencyProvider.cpp b/src/Providers/DependencyProvider.cppindex bd332f4d..592f8804 100644--- a/src/Providers/DependencyProvider.cpp+++ b/src/Providers/DependencyProvider.cpp@@ -9,6 +9,8 @@ DependencyProvider::DependencyProvider(ITerminalView &terminalView, IDeviceViewdeviceInput(deviceInput),usbService(usbService),usbController(usbController),++ // ServicessdService(),nvsService(),ledService(),@@ -26,13 +28,20 @@ DependencyProvider::DependencyProvider(ITerminalView &terminalView, IDeviceViewsshService(),jtagService(),canService(),+ systemService(),++ // TransformerscommandTransformer(),instructionTransformer(),argTransformer(),webRequestTransformer(),++ // ManagerscommandHistoryManager(),binaryAnalyzeManager(terminalView, terminalInput),userInputManager(terminalView, terminalInput, argTransformer),++ // ShellssdCardShell(sdService, terminalView, terminalInput, argTransformer),spiFlashShell(spiService, terminalView, terminalInput, argTransformer, userInputManager, binaryAnalyzeManager),spiEepromShell(spiService, terminalView, terminalInput, argTransformer, userInputManager),@@ -42,13 +51,20 @@ DependencyProvider::DependencyProvider(ITerminalView &terminalView, IDeviceViewi2cEepromShell(terminalView, terminalInput, i2cService, argTransformer, userInputManager, binaryAnalyzeManager),uartAtShell(terminalView, terminalInput, userInputManager, argTransformer, uartService),threeWireEepromShell(terminalView, terminalInput, userInputManager, threeWireService, argTransformer),+ sysInfoShell(terminalView, terminalInput, userInputManager, argTransformer, systemService, wifiService),++ // SelectorshorizontalSelector(deviceView, deviceInput),++ // ConfiguratorsterminalTypeConfigurator(horizontalSelector),++ // ControllersuartController(terminalView, terminalInput, deviceInput, uartService, sdService, hdUartService, argTransformer, userInputManager, uartAtShell),i2cController(terminalView, terminalInput, i2cService, argTransformer, userInputManager, i2cEepromShell),oneWireController(terminalView, terminalInput, oneWireService, argTransformer, userInputManager, ibuttonShell),infraredController(terminalView, terminalInput, infraredService, argTransformer, userInputManager, universalRemoteShell),- utilityController(terminalView, deviceView, terminalInput, pinService, userInputManager, argTransformer),+ utilityController(terminalView, deviceView, terminalInput, pinService, userInputManager, argTransformer, sysInfoShell),hdUartController(terminalView, terminalInput, deviceInput, hdUartService, uartService, argTransformer, userInputManager),spiController(terminalView, terminalInput, spiService, sdService, argTransformer, userInputManager, binaryAnalyzeManager, sdCardShell, spiFlashShell, spiEepromShell),jtagController(terminalView, terminalInput, jtagService, userInputManager),diff --git a/src/Providers/DependencyProvider.h b/src/Providers/DependencyProvider.hindex d47ee198..09980132 100644--- a/src/Providers/DependencyProvider.h+++ b/src/Providers/DependencyProvider.h@@ -28,6 +28,7 @@ and injecting shared instances of core components#include "Services/SshService.h"#include "Services/JtagService.h"#include "Services/CanService.h"+#include "Services/SystemService.h"#include "Services/ThreeWireService.h"#include "Controllers/UartController.h"#include "Controllers/I2cController.h"@@ -62,6 +63,7 @@ and injecting shared instances of core components#include "Shells/ThreeWireEepromShell.h"#include "Shells/IbuttonShell.h"#include "Shells/UartAtShell.h"+#include "Shells/SysInfoShell.h"#include "Config/TerminalTypeConfigurator.h"class DependencyProvider@@ -101,6 +103,7 @@ public:NmapService &getNmapService();JtagService &getJtagService();CanService &getCanService();+ SystemService &getSystemService();// ControllersUartController &getUartController();@@ -142,6 +145,7 @@ public:ThreeWireEepromShell &getThreeWireEepromShell();IbuttonShell &getIbuttonShell();UartAtShell &getUartAtShell();+ SysInfoShell &getSysInfoShell();// SelectorsHorizontalSelector &getHorizontalSelector();@@ -182,6 +186,7 @@ private:NmapService nmapService;JtagService jtagService;CanService canService;+ SystemService systemService;// ControllersUartController uartController;@@ -222,6 +227,7 @@ private:ThreeWireEepromShell threeWireEepromShell;IbuttonShell ibuttonShell;UartAtShell uartAtShell;+ SysInfoShell sysInfoShell;// SelectorsHorizontalSelector horizontalSelector;