Skip to content

Commit

Permalink
Add LED and Evil Portal commands (#25)
Browse files Browse the repository at this point in the history
* Add LED and EvilPortal

* Remove OTA and ESP

* Update version number

* Revert version number

* Formatting

---------

Co-authored-by: 0xchocolate <[email protected]>
  • Loading branch information
justcallmekoko and 0xchocolate authored Jul 26, 2023
1 parent a62c15d commit ef7d1d4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
21 changes: 17 additions & 4 deletions scenes/wifi_marauder_scene_start.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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",
Expand All @@ -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,
Expand All @@ -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},
Expand Down
2 changes: 1 addition & 1 deletion wifi_marauder_app_i.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <lib/toolbox/path.h>
#include <dialogs/dialogs.h>

#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)
Expand Down

0 comments on commit ef7d1d4

Please sign in to comment.