From ef7d1d42b8f7fb291bca9f0d4c06ebd616eb4d91 Mon Sep 17 00:00:00 2001 From: Just Call Me Koko <25190487+justcallmekoko@users.noreply.github.com> Date: Wed, 26 Jul 2023 12:36:10 -0400 Subject: [PATCH] Add LED and Evil Portal commands (#25) * Add LED and EvilPortal * Remove OTA and ESP * Update version number * Revert version number * Formatting --------- Co-authored-by: 0xchocolate <109879152+0xchocolate@users.noreply.github.com> --- scenes/wifi_marauder_scene_start.c | 21 +++++++++++++++++---- wifi_marauder_app_i.h | 2 +- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/scenes/wifi_marauder_scene_start.c b/scenes/wifi_marauder_scene_start.c index b2bd39d3..6ce66b1a 100644 --- a/scenes/wifi_marauder_scene_start.c +++ b/scenes/wifi_marauder_scene_start.c @@ -68,6 +68,13 @@ const WifiMarauderItem items[NUM_MENU_ITEMS] = { NO_ARGS, FOCUS_CONSOLE_END, SHOW_STOPSCAN_TIP}, + {"Evil Portal", + {"start"}, + 1, + {"evilportal -c start"}, + NO_ARGS, + FOCUS_CONSOLE_END, + SHOW_STOPSCAN_TIP}, {"Targeted Deauth", {"station", "manual"}, 2, @@ -83,11 +90,10 @@ const WifiMarauderItem items[NUM_MENU_ITEMS] = { FOCUS_CONSOLE_END, SHOW_STOPSCAN_TIP}, {"Sniff", - {"beacon", "deauth", "esp", "pmkid", "probe", "pwn", "raw", "bt", "skim"}, - 9, + {"beacon", "deauth", "pmkid", "probe", "pwn", "raw", "bt", "skim"}, + 8, {"sniffbeacon", "sniffdeauth", - "sniffesp", "sniffpmkid", "sniffprobe", "sniffpwn", @@ -105,6 +111,13 @@ const WifiMarauderItem items[NUM_MENU_ITEMS] = { TOGGLE_ARGS, FOCUS_CONSOLE_END, NO_TIP}, + {"LED", + {"hex", "pattern"}, + 2, + {"led -s", "led -p"}, + INPUT_ARGS, + FOCUS_CONSOLE_END, + NO_TIP}, {"Settings", {"display", "restore", "ForcePMKID", "ForceProbe", "SavePCAP", "EnableLED", "other"}, 7, @@ -118,7 +131,7 @@ const WifiMarauderItem items[NUM_MENU_ITEMS] = { TOGGLE_ARGS, FOCUS_CONSOLE_START, NO_TIP}, - {"Update", {"ota", "sd"}, 2, {"update -w", "update -s"}, NO_ARGS, FOCUS_CONSOLE_END, NO_TIP}, + {"Update", {"sd"}, 1, {"update -s"}, NO_ARGS, FOCUS_CONSOLE_END, NO_TIP}, {"Reboot", {""}, 1, {"reboot"}, NO_ARGS, FOCUS_CONSOLE_END, NO_TIP}, {"Help", {""}, 1, {"help"}, NO_ARGS, FOCUS_CONSOLE_START, SHOW_STOPSCAN_TIP}, {"Scripts", {""}, 1, {""}, NO_ARGS, FOCUS_CONSOLE_END, NO_TIP}, diff --git a/wifi_marauder_app_i.h b/wifi_marauder_app_i.h index d6a0d37c..4920bd22 100644 --- a/wifi_marauder_app_i.h +++ b/wifi_marauder_app_i.h @@ -26,7 +26,7 @@ #include #include -#define NUM_MENU_ITEMS (18) +#define NUM_MENU_ITEMS (20) #define WIFI_MARAUDER_TEXT_BOX_STORE_SIZE (4096) #define WIFI_MARAUDER_TEXT_INPUT_STORE_SIZE (512)