Skip to content

Commit

Permalink
Add GPS and Wardrive commands (#29)
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

* Add gps and wardrive commands

* GPS command behavior

---------

Co-authored-by: 0xchocolate <[email protected]>
  • Loading branch information
justcallmekoko and 0xchocolate authored Sep 9, 2023
1 parent 5bde942 commit 6fdafd7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions scenes/wifi_marauder_scene_start.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ const WifiMarauderItem items[NUM_MENU_ITEMS] = {
NO_ARGS,
FOCUS_CONSOLE_END,
SHOW_STOPSCAN_TIP},
{"Wardrive", {""}, 1, {"wardrive"}, NO_ARGS, FOCUS_CONSOLE_END, SHOW_STOPSCAN_TIP},
{"Evil Portal",
{"start"},
1,
Expand Down Expand Up @@ -118,6 +119,19 @@ const WifiMarauderItem items[NUM_MENU_ITEMS] = {
INPUT_ARGS,
FOCUS_CONSOLE_END,
NO_TIP},
{"GPS Data",
{"stream", "fix", "sats", "lat", "lon", "alt", "date"},
7,
{"gpsdata",
"gps -g fix",
"gps -g sat",
"gps -g lat",
"gps -g lon",
"gps -g alt",
"gps -g date"},
NO_ARGS,
FOCUS_CONSOLE_END,
NO_TIP},
{"Settings",
{"display", "restore", "ForcePMKID", "ForceProbe", "SavePCAP", "EnableLED", "other"},
7,
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 (20)
#define NUM_MENU_ITEMS (22)

#define WIFI_MARAUDER_TEXT_BOX_STORE_SIZE (4096)
#define WIFI_MARAUDER_TEXT_INPUT_STORE_SIZE (512)
Expand Down

0 comments on commit 6fdafd7

Please sign in to comment.