Skip to content

dkyazzentwatwa/esp8266-sniffer-1602-LCD

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP8266 WifiSniffer 1602 LCD

This is a fork of https://github.com/kalanda/esp8266-sniffer

I was having an issue using devices away from my computer and wanting to visualize the data, so I implemented a spare LCD screen I had lying around with a Node MCU ESP8266.

Wiring:

VCC of the LCD to 3V3 (3.3V) on the NodeMCU. GND of the LCD to GND on the NodeMCU. SDA of the LCD to D2 (GPIO 4) on the NodeMCU. SCL of the LCD to D1 (GPIO 5) on the NodeMCU.

To-Do

-improve the display format -add buttons to toggle different functions? -add microSD to save data when in the field -create webserver to host logs -led lights (why not)

Original Description

This is only an easy experiment which uses the ESP8266 wifi module to look for near smartphones around you. You can do this very easily with any computer and some software but this is a good way to learn the possibilities of these tiny ESP8266 modules.

VERY IMPORTANT: This code is only for educational purposes. We don’t want to listen for any private communication and we don't do it. All packets that you can listen with this code are public packets without any encryption or secure layer on it, continuously broadcasted to the air by smartphones. Please, check which country's laws applies to you before use this code.

Introduction

Some time ago I saw this video of Chema Alonso about how insecure are our mobile phones. He explains, among other things, that your phone is constantly searching for all WiFi networks which you already connect in the past (unless you did remove as "saved"), saying to anyone who is listening for those public packets where you have been before, and of course, your unique device MAC address.

Those public packets are named as "probe requests" and are used by smartphones to connect faster to wifi networks than if it waits for the network send a Beacon frame to announce the SSID.

This program just listen for those "probe requests" and prints to serial port the information. For now only shows the RSSI (bigger values are near devices), the MAC address of the device and the SSID (if available) of the wifi network which is looking for. Something like that:

Code

This repository uses Platformio to compile and upload code to ESP8266 but you can also use it with Arduino IDE.

I use one nodeMCU devkit because is a fast and easy way to program the chip because it includes serial to usb converter and breadboard compatibility but there are many flavors available.

Useful links

About

A LCD implementation for ESP8266 sniffer!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%