

There are some limitations to this, and in general, this library will work better on the more powerful ESP32, which costs a little bit more. While the ESP8266 is a lot less powerful than most wireless network adapters, it's really cool to be able to read Wi-Fi network using nothing but a microcontroller. Thanks to the efforts of Stefan Kremser, also known as Spacehuhn, an easy-to-use library for generating Wireshark-readable PCAP files can be loaded onto an ESP8266 in a matter of minutes. Image by Kody/Null Byte Spacehuhn's Arduino PCAP Library One of the most useful D1 Mini shields is an SD card module for reading and writing data to a microSD card. They allow for a number of pins to be used to connect to sensors or displays, and while they don't have as many pins available as a NodeMCU, the D1 Mini is also half the size.īecause of the popularity among makers, there are many add-on "shields" that are sold alongside the D1 Mini, which can be stacked on top of each other to add functionality.

These boards, copied widely by a number of manufacturers, are dirt-cheap and start at around three dollars. One of the most popular development boards for the ESP8266 is the D1 Mini. While you will see many different kinds of ESP8266-based microcontrollers, they all have the same chip in the center with the distinctive antenna pattern. These boards are also dirt-cheap, leading to many manufacturers adding them to development boards that add useful features like a USB port to connect to for easier programming of the device. The ESP8266 microcontroller can be programmed in Arduino and comes with Wi-Fi integrated, which is visible by the printed antenna on the board. If some simple sniffing is all you're looking for, then it turns out a cheap, easy-to-program microcontroller might work just fine instead. While there is much debate about which wireless network adapter is the best, it can get expensive trying out which one is right for you. Don't Miss: Program a $6 NodeMCU to Detect Wi-Fi Jamming Attacks.But to get started doing this, you'll typically need to invest in a wireless network adapter that gives you more control than the average consumer adapter. Even without the Wi-Fi password, you can learn about the types of devices that are nearby, which devices are connected to which networks, and more information that can be useful to a hacker. Sniffing Wi-Fi packets allows you to learn a lot about the wireless landscape of an area. For less than $10 in electronics, you can build a tiny Arduino Wi-Fi sniffer that saves Wireshark-compatible PCAP files and fits anywhere. But thanks to a Wi-Fi sniffing library written in Arduino and the ultra-cheap ESP8266 chip, you might not need one.

If you want to get started sniffing Wi-Fi networks, you usually need to start with a wireless network adapter.
