justcallmekoko/ESP32DualBandWardriver
Acerca de
Herramienta de wardriving basada en el ESP32-C5
Otros proyectosCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- +3
- in 15 days
- +6
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalESP32 Dual Band Wardriver
Based on the ESP32-C5-DevKitC-1 v1.2, the ESP32 Dual Band Wardriver offers wardriving capabilities for 2.4GHz and 5GHz WiFi as well as BLE. Logs are formatted for WiGLE and saved to SD card.
The T_DONGLE_C5 build supports the LilyGo T-Dongle C5's onboard 160x80
ST7735 display, microSD slot, and GPIO28 BOOT button. Connect a 3.3V UART GPS
RX to GPIO11 and GPS TX to GPIO12. The single button cycles the stats, detail,
channel-popularity, and incognito screens; the SD file menu is intentionally
unavailable. Stored logs remain uploadable through dock mode and the admin web UI.
Table of Contents
Leaderboards
Join #wardriving on WiGLE and KokosStripClub (invite code: _mN01r0TAS8q) on WDGWars to have a little competitive fun with the art of wardriving.
Connections
IMPORTANT: If you are using the ESP32-C5-DevKitC-1 with the JCMK C5 Wardriver host board or you are powering your DevKit via the 3V3 pin, you must remove the 3V3 jumper from the DevKit or your device will not power properly.
Display
| ESP32-C5 | Display |
|---|---|
3V3 |
VCC |
GND |
GND |
GPIO6 |
SCK |
GPIO7 |
MOSI |
GPIO23 |
CS |
GPIO24 |
DC |
GPIO27 |
BL |
RST |
RST |
GPS
| ESP32-C5 | GPS |
|---|---|
3V3 |
VCC |
GND |
GND |
GPIO13 |
RX |
GPIO14 |
TX |
Tip: The GPS module's ceramic patch antenna should be oriented face-up toward the sky for best signal. In the JCMK host board case the antenna mounts vertically by default — relocating it to the top of the enclosure significantly improves acquisition time.
SD Card
| ESP32-C5 | SD |
|---|---|
3V3 |
VCC |
GND |
GND |
GPIO6 |
SCK |
GPIO2 |
MISO |
GPIO7 |
MOSI |
GPIO10 |
CS |
Battery Fuel Gauge
| Board | ESP32-C5 | Pin |
|---|---|---|
GPIO4 |
SCL |
|
GPIO5 |
SDA |
|
3V3 |
VCC |
|
GND |
GND |
|
Battery + |
BAT |
Activity LED
| ESP32-C5 | LED |
|---|---|
GPIO28 |
+ |
GND |
- |
User Buttons
The User Buttons require pull-down resistors.
| ESP32-C5 | Button |
|---|---|
GPIO8 |
DOWN |
GPIO9 |
UP |
GPIO1 |
SELECT |
Install Firmware
The C5 Wardriver Installer is the default and recommended method for installing firmware. It runs in a Chromium-based browser with Web Serial support, such as Google Chrome or Microsoft Edge.
- Connect the JCMK C5 Wardriver or LilyGo T-Dongle C5 to your computer with a USB data cable.
- Open the C5 Wardriver Installer.
- Select the desired hardware and firmware version from the catalog.
- Leave Clean / first install selected for a new device or a device previously running different firmware.
- Read and acknowledge the erase warning, then select Flash firmware and choose the ESP32-C5 serial device.
- Keep the device connected until the installer reports that flashing is complete, then power-cycle it.
The JCMK C5 Wardriver and LilyGo T-Dongle C5 use the same ESP32-C5 chip, so the installer cannot identify the board variant from the chip alone. Always select the exact connected hardware; flashing the other target can configure incompatible pins and peripherals.
Clean / first install erases the device and writes the complete compatible flash layout, including the bootloader, partition table, OTA data, and application. This is required when the existing flash layout is unknown or incompatible.
Update Firmware
Browser Installer (Recommended)
Use the C5 Wardriver Installer for normal firmware updates:
- Connect the target device to your computer with a USB data cable.
- Select the desired catalog firmware.
- Select Update / preserve settings when the device already has a compatible C5 Wardriver flash layout.
- Select Flash firmware, choose the ESP32-C5 serial device, and wait for completion before power-cycling.
Update mode preserves settings and writes the application to app0 before updating OTA selection so the new firmware boots. If the device is factory-fresh, has an unknown partition layout, or does not boot after an update, repeat the process with Clean / first install.
SD Card Update
SD card updates remain supported when a browser and direct USB connection are not convenient. The firmware checks the SD card root at every boot for a new .bin file and automatically installs it when found.
- Download the latest firmware from Releases
- Place the
.binfile on the root of your SD card - Install the SD card into the C5 Wardriver
- Boot the C5 Wardriver and allow the automatic update process to execute
Usage
Booting
When powered on, the C5 Wardriver attempts to connect to WiFi using saved credentials. If no credentials are saved or the network is unavailable, it starts its admin access point. Its default SSID and password are both c5wardriver; both can be changed in Admin settings. The AP remains active for 60 seconds if no clients connect, or until all clients disconnect.
If the device connects to a saved WiFi network, the web UI remains available indefinitely — it will stay connected until the network disappears. On the JCMK C5 Wardriver, press SELECT at any time during admin startup to continue in the configured mode. This works while joining WiFi, hosting the admin AP, or connected to a saved network. Holding SELECT at the boot logo also skips admin.
Initial Setup
On first boot, connect to the c5wardriver access point and navigate to http://192.168.4.1. From the web UI you can configure:
- WiFi SSID / Password — network to connect at boot for web UI access
- WiGLE API credentials — for direct log upload to WiGLE
- WDG Wars API key — for direct log upload to WDGWars
- Trigger SSID / Password — network that triggers dock mode (see Dock Mode)
- Admin Password — enables Basic Auth on the web UI
- Admin AP SSID / Password — customizes the fallback configuration access point
- Core MAC — optionally binds a Node to one specific Core
- SSID Exclusions — SSIDs to never log
- Geofence Zones — zones where wardriving pauses
- SD Debug Log — enable to write all log entries to
/debug.logon the SD card
Webserver Usage
At every boot, if connected to a saved WiFi network, the device IP is shown on the display. Navigate to that IP from any device on the same network to access the web UI. From here you can download log files, upload to WiGLE or WDGWars, and reconfigure all settings.
A live log viewer is available at http://<device-ip>/log — auto-refreshes every 5 seconds and shows the last 100 log entries.
Display Screens
Cycle between screens using the UP and DOWN buttons.
Screen 1 — Stats (default) Large-format wardriving stats: GPS satellite count and lock status, battery percentage, scan status, current session 2.4GHz / 5GHz / BLE counts, running totals, and active geofence zone name.
Screen 2 — Detail Original stats display: firmware version, SD status, battery, scan status, log file name, per-band counts, GPS satellites, and running totals.
Screen 3 — Incognito 5-second countdown then backlight off. Press any button to exit.
The on-device Nodes menu is available from the file/menu screen. In Core mode it lists each active node by the last two MAC bytes, assigned channel block, and seconds since last contact. Use UP and DOWN to scroll.
Buttons
| Button | Function |
|---|---|
UP |
Cycle display mode forward |
DOWN |
Cycle display mode backward |
SELECT |
Press during admin startup to exit, or hold at the boot logo to skip it |
Uploads
Log files can be uploaded to WiGLE and WDGWars directly from the web UI or automatically via dock mode. Select a log file from the file list and choose Upload — options are WiGLE, WDGWars, or Both.
Sidecar files (.wigle / .wdg) are created after successful uploads to prevent duplicate uploads across reboots.
Sanitize Logs with Wardacted
Wardacted is a free browser-based tool for sanitizing wardrive logs before sharing or publishing them. Download a WiGLE CSV log from the C5 Wardriver web UI, open it in Wardacted, then remove records using polygon or circle geofences and optional SSID, MAC address, or regular-expression rules. Single logs and ZIP batches are supported.
Log contents, geofences, filter rules, filenames, network identifiers, and output files remain in the browser. Wardacted sends only the aggregate number of redacted records to its counter. Map tiles are loaded from OpenStreetMap, so the viewed map area is disclosed to that tile service. Direct uploads from the C5 Wardriver do not pass through Wardacted; download and sanitize a log first when redaction is required.
Dock Mode
Dock mode automates log uploads when the wardriver detects a configured trigger SSID.
How it works:
- While wardriving or in standby, the device passively scans for the trigger SSID every 30 seconds
- When detected, it connects and uploads all pending log files (files without upload sidecars)
- It monitors for the trigger SSID to disappear, then resumes wardriving automatically
Two-tier operation:
- Tier 1 (no GPS fix): Connects and serves the web UI only — no upload triggered
- Tier 2 (GPS fix + SD card): Full dock mode — uploads all pending logs to WiGLE and WDGWars
Tier 1 automatically upgrades to Tier 2 if a GPS fix is acquired while docked.
Configure the trigger SSID and password in the web UI under Dock Mode. The trigger SSID is separate from the boot WiFi network.
Geofence Zones
Up to 5 geofence zones can be configured with a label, latitude/longitude, and radius (0.10 to 1.00 miles). When the wardriver enters a geofence zone, wardriving pauses and the zone name is shown on the display. Wardriving resumes automatically when the zone is exited.
Zones are configured from the web UI under Geofences.
SSID Exclusions
Up to 10 SSIDs can be added to the exclusion list. Networks matching an excluded SSID are never logged regardless of location. Useful for filtering out your own networks or known networks you don't want to record.
Configure from the web UI under SSID Exclusions.
Debug Logging
Enable SD Debug Log in the web UI Admin section to write all log entries to /debug.log on the SD card. Useful for diagnosing issues in the field without a serial connection. The debug log is available for download from the web UI file list but is excluded from upload queues.
Modes
The C5 Wardriver supports multiple ESP32 modules operating as collection nodes reporting to a single Core device. Nodes and Cores communicate over-the-air within typical WiFi range.
When configuring device mode from the web UI, the mode persists across reboots. When selecting mode from the on-device menu, it is temporary and resets on next boot.
Solo Mode
Standalone operation. Requires SD card, GPS module, and GPS fix. Logs directly to SD and supports direct upload to WiGLE and WDGWars.
Node Mode
Collects wardriving data and sends it to a Core device. Does not require SD card or GPS.
Set Core MAC in the web admin settings to bind a Node to a specific Core. Once configured, discovery, heartbeats, assignments, and wardrive records are accepted from or sent to only that Core. Leave the field empty for legacy automatic discovery.
Core Mode
Receives data from Nodes, pairs it with GPS location data, and saves consolidated log files to SD. Requires SD card and GPS. Does not collect wardriving data itself. Supports direct upload to WiGLE and WDGWars.
Encryption
Node-to-Core communications can be encrypted. Enable via the web UI. When encryption is enabled, a maximum of 6 nodes can operate simultaneously due to memory constraints. Without encryption, the number of nodes is theoretically unlimited.
Explorar proyectos relacionados
Cargando…