GithubHelp home page GithubHelp logo

pejacoby / wardriver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lukeswitz/wardriver

0.0 0.0 0.0 3.46 MB

Basic ESP8266/ESP32 Wardriving & Logging in WiGLE Format

Home Page: https://dnsdriveby.com

License: MIT License

C++ 21.70% C 75.24% Makefile 1.53% Dockerfile 1.53%

wardriver's Introduction

Wardriver 1.2

Basic wardriving for the ESP8266 & ESP32, compatible with WiGLE.

Arduino Build

Fork Details:

  • OTC network deduplication
  • Visibile networks cache
  • TinyFS fallback (removed)
  • Minor fixes and fringe tweaks

HW Cases: 3D Print files here.


Flashing your Wardriver

This guide will help flash the firmware to your device. Open an issue if you have trouble

Prerequisites

  • ESP8266/ESP32s2 & minis.

  • Official board (optional)

  • SD module (Change Pin D8-CS in Vars.h if needed)

  • GPS unit (change GPS_BAUD in Vars.h if needed)

  • Docker and esptool:

Install Docker:

sudo apt update

sudo apt upgrade

sudo apt install docker.io

Install esptool:

Setup

  1. Clone this repository to your local machine.
git clone https://github.com/lukeswitz/Wardriver.git
cd Wardriver/src
  1. Build the Docker image.
make build

This will create a Docker image with all the necessary tools and libraries to compile the firmware.

Flashing the Firmware

Before flashing the firmware, make sure your ESP8266 or ESP32 board is connected to your computer.

1. ESP32 ONLY: Enter DFU Mode

You can do this in 2 ways:

Option 1:

  • Plug the board into your computer
  • Hold down the 0 button
  • Tap & Release the RST button

Option 2:

  • Hold down the 0 button
  • Plug in the board
  • Release the 0 button

Step 2: Find Serial Port & Erase Flash

Find the Serial Port your board is connected to:

  • Windows: Found via Device Manager
  • MacOS: ls /dev/cu*
  • Linux: ls /dev/tty*

Your device will appear as something like ttyUSB0 or ttyACM0.

Erase the flash:

esptool --chip auto -p /dev/<your_serial_port> erase_flash

Step 3: Flashing

Decide what image you want to flash :

  • Official Beta: /build/v1.2-beta-WarDriver.bin
  • This pre-beta build (unstable): /build/v1.2-alpha-WarDriver.bin

Run the following command to flash the firmware to your board:

esptool --chip auto -p <SERIAL_PORT> write_flash -z 0x0 <binary>.bin

Replace <binary>.bin by dragging the file into the terminal or by manually specifying from the above paths.

GPS output and found networks will begin to appear in the serial console after successful flash. Data is saved as a CSV file that is ready for upload to wigle.net

Listing All Supported Boards

To list all the supported boards by esptool, you can check the help file:

esptool -h

Troubleshooting

If you encounter any issues, make sure your board is properly connected and the correct port is specified in the esptool command. If the problem persists, please open an issue in this repository.

Contributing

Contributions are welcome! Please open a pull request with your changes or improvements.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Credits

All credit and thanks to Alex Lynd. Docs modded from the DNSDriveBy/Nugget flashing instructions.

wardriver's People

Contributors

alexlynd avatar lukeswitz avatar pejacoby avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.