Build a homemade spying machine with a Raspberry-Pi, Firebase, AngularJS and some Python #piday #raspberrypi @Raspberry_Pi

Build a homemade spying machine with a Raspberry Pi Firebase and some Python Medium

Build a homemade spying machine with a Raspberry-Pi, Firebase, AngularJS and some Python. via medium.com

My favorite characters in spy movies were always the gadget-making-mad-scientists building crazy little machines which help the spy-hero to pull off his amazing feats. Q has always been a much more appealing character than Bond to me, as was Donatello over Leonardo as my favorite Ninja-Turtle.

Cheap new hardware and the quickly-growing “maker” mindset give us a small opportunity to step into the shoes of such childhood heroes.

In this article, I will show you how to build a nifty little device that will allow you to monitor which wifi-enabled devices are present in your home, even when you’re away. We’ll be building a web-based app which we’ll use to view this data from anywhere we have an internet connection. This way you have your Bond-like little device in which you can check up devices which are close to anywhere where you can give it some electricity.

Disclaimer: this article is created for educational purposes, do not spy on your friends and family as it is unfriendly and immoral! (it may also be illegal)

As you may well know, your smartphone or tablet are constantly looking for known WiFi networks as they do so they send over radio waves unencrypted messages known as “Probe” messages to check if any of the wifi networks which they are already familiar with are around. Different devices behave differently, some probe for networks constantly in the background, while other do this only when you open the screen and try to use the internet. The thing that’s interesting to us in this project is that while your device probes for wifi networks it broadcasts it’s MAC-address (a uniqe number identifying itself). If we’re able to listen to these communications, we’ll be able to log who is physically around us, since most people constantly carry their smartphone with them.

Our setup
This is how we’re going to pull this off:

We will set up a Raspberry Pi B+ with a WiFi dongle
We will run airodump-ng on our Pi in the background to listen for probe messages
We will write a small python program to process the out from airodump and send it to a Firebase database
We will write a small web-client to read realtime data from Firebase and show us which devices are near our Pi or have been recently.

Full tutorial

998Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, or even use Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for MakeCode, CircuitPython, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Join 9,700+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

What do you want from CircuitPython in 2019?

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/

Maker Business — A field guide to designing your PCBs, learned the hard way

Wearables — A glowing start point

Electronics — Current limiting!

Biohacking — A Gene to Predict Modafinil Response

Python for Microcontrollers — Python snakes its way on the SparkFun SAMD21 Mini, Hackaday.io, 10k thanks, and Tim’s magazine #Python #Adafruit #CircuitPython @circuitpython @micropython @ThePSF @Adafruit

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !

No Comments

No comments yet.

Sorry, the comment form is closed at this time.