Skip to content

Commit

Permalink
add ble wardriving
Browse files Browse the repository at this point in the history
  • Loading branch information
jaylikesbunda committed Dec 6, 2024
1 parent 32bf717 commit 2b18e22
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- Add Scan Local command to scan for devices on connected network
- Respect Momentum settings for ESP UART Channel
- Added PCAP and Wardrive clearing options in Settings menu
- Added BLE Wardriving command
- Miscellaneous bug fixes and improvements

## v1.1.7
Expand Down
35 changes: 35 additions & 0 deletions src/menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,40 @@ static const MenuCommand gps_commands[] = {
.details_text = "Stops wardriving\n"
"mode and saves any\n"
"remaining data.\n",
},
{
.label = "BLE Wardriving",
.command = "blewardriving\n",
.capture_prefix = "ble_wardrive",
.file_ext = "csv",
.folder = GHOST_ESP_APP_FOLDER_WARDRIVE,
.needs_input = false,
.input_text = NULL,
.needs_confirmation = false,
.confirm_header = NULL,
.confirm_text = NULL,
.details_header = "BLE Wardriving",
.details_text = "Maps BLE devices:\n"
"- Device info\n"
"- GPS location\n"
"- Signal levels\n"
"Saves as CSV\n",
},
{
.label = "Stop BLE Wardriving",
.command = "blewardriving -s\n",
.capture_prefix = NULL,
.file_ext = NULL,
.folder = NULL,
.needs_input = false,
.input_text = NULL,
.needs_confirmation = false,
.confirm_header = NULL,
.confirm_text = NULL,
.details_header = "Stop BLE Wardriving",
.details_text = "Stops BLE wardriving\n"
"mode and saves any\n"
"remaining data.\n",
}
};

Expand Down Expand Up @@ -1059,6 +1093,7 @@ bool back_event_callback(void* context) {
"blescan -s\n", // Stop BLE scanning
"gpsinfo -s\n", // Stop GPS info updates
"startwd -s\n", // Stop wardriving
"blewardriving -s\n", // Stop BLE wardriving
"stop\n" // General stop command
};

Expand Down

0 comments on commit 2b18e22

Please sign in to comment.