//** Includes sniffbt and sniffskim for compatible ESP32-WROOM hardware. // uart_terminal_scene_start.c also changed **// #pragma once #include "uart_terminal_app.h" #include "scenes/uart_terminal_scene.h" #include "uart_terminal_custom_event.h" #include "uart_terminal_uart.h" #include #include #include #include //#include #include #include "uart_text_input.h" #define NUM_MENU_ITEMS (4) #define UART_TERMINAL_TEXT_BOX_STORE_SIZE (4096) #define UART_TERMINAL_TEXT_INPUT_STORE_SIZE (512) struct UART_TerminalApp { Gui* gui; ViewDispatcher* view_dispatcher; SceneManager* scene_manager; char text_input_store[UART_TERMINAL_TEXT_INPUT_STORE_SIZE + 1]; FuriString* text_box_store; size_t text_box_store_strlen; TextBox* text_box; UART_TextInput* text_input; //Widget* widget; VariableItemList* var_item_list; UART_TerminalUart* uart; int selected_menu_index; int selected_option_index[NUM_MENU_ITEMS]; const char* selected_tx_string; bool is_command; bool is_custom_tx_string; bool focus_console_start; bool show_stopscan_tip; }; // Supported commands: // https://github.com/justcallmekoko/ESP32Marauder/wiki/cli // Scan // -> If list is empty, then start a new scanap. (Tap any button to stop.) // -> If there's a list, provide option to rescan and dump list of targets to select. // -> Press BACK to go back to top-level. // Attack // -> Beacon // -> Deauth // -> Probe // -> Rickroll // Sniff // -> Beacon // -> Deauth // -> ESP // -> PMKID // -> Pwnagotchi // Channel // Update // Reboot typedef enum { UART_TerminalAppViewVarItemList, UART_TerminalAppViewConsoleOutput, UART_TerminalAppViewTextInput, } UART_TerminalAppView;