All Projects → Jeija → Esp32free80211

Jeija / Esp32free80211

Send arbitrary IEEE 802.11 frames with Espressif's ESP32

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Esp32free80211

AG NTRIP ESP
AG Rooftop controller with NTRIP client and IMU (ESP32 Controller)
Stars: ✭ 25 (-93.28%)
Mutual labels:  esp32, wifi, espressif
Esp32marauder
A suite of WiFi/Bluetooth offensive and defensive tools for the ESP32
Stars: ✭ 233 (-37.37%)
Mutual labels:  esp32, espressif, wifi
Esp32 Wifi Manager
Captive Portal for ESP32 that can connect to a saved wireless network or start an access point where you can connect to existing wifis.
Stars: ✭ 316 (-15.05%)
Mutual labels:  esp32, espressif, wifi
Homepoint
Espressif ESP32 Based Smarthome screen for MQTT
Stars: ✭ 391 (+5.11%)
Mutual labels:  esp32, espressif, wifi
Blynk Library
Blynk library for embedded hardware. Works with Arduino, ESP8266, Raspberry Pi, Intel Edison/Galileo, LinkIt ONE, Particle Core/Photon, Energia, ARM mbed, etc.
Stars: ✭ 3,305 (+788.44%)
Mutual labels:  esp32, espressif, wifi
Esphelper
A library to make using WiFi & MQTT on the ESP8266 easy.
Stars: ✭ 310 (-16.67%)
Mutual labels:  esp32, wifi
Eduponics-Mini
MicroPython MQTT & code example for Eduponics mini ESP32 learning kit
Stars: ✭ 41 (-88.98%)
Mutual labels:  esp32, wifi
issues
Issue Tracker for ESPHome
Stars: ✭ 182 (-51.08%)
Mutual labels:  esp32, wifi
WUD-Ducky
An ESP32-S2 RubberDucky script parser, with Mouse/PenDrive support 🦆
Stars: ✭ 33 (-91.13%)
Mutual labels:  esp32, wifi
esp-idf-vscode-boilerplate
Boilerplate for developing ESP-IDF applications using VS Code
Stars: ✭ 26 (-93.01%)
Mutual labels:  esp32, espressif
Esp At
AT application for ESP32 ESP-IDF & ESP32S2 ESP-IDF & ESP8266 ESP8266_RTOS_SDK
Stars: ✭ 319 (-14.25%)
Mutual labels:  esp32, wifi
Retroesp32
Retro ESP32 is a turbo charged Odroid Go Launcher, Emulator and ROM Manager
Stars: ✭ 313 (-15.86%)
Mutual labels:  esp32, espressif
Mars Rover
3D printed Curiosity/Perseverance inspired Rover
Stars: ✭ 327 (-12.1%)
Mutual labels:  esp32, wifi
LibTeleinfo
Librairie Universelle Teleinformation (TIC)
Stars: ✭ 77 (-79.3%)
Mutual labels:  esp32, wifi
low-power-wifi
Experiments in low-power-wifi on esp8266, esp32, and ...
Stars: ✭ 35 (-90.59%)
Mutual labels:  esp32, wifi
esp32
Build your own toolchain to develop, test, build and finally deploy a Golang controller to your ESP32 device.
Stars: ✭ 76 (-79.57%)
Mutual labels:  esp32, espressif
ESP32-to-ESP32
ESP32 to ESP32 communication example using Arduino framework. Secure, P2P, low latency connection between devices is established. Button connected to the first ESP32 controlls LED connected to second ESP32.
Stars: ✭ 25 (-93.28%)
Mutual labels:  esp32, wifi
Farm-Data-Relay-System
A system that uses ESP-NOW, LoRa, and other protocols to transport sensor data in remote areas without relying on WiFi.
Stars: ✭ 97 (-73.92%)
Mutual labels:  esp32, espressif
M5ez
Complete interface builder for the M5Stack, an ESP32 based mini tinker-computer
Stars: ✭ 260 (-30.11%)
Mutual labels:  esp32, wifi
OctoWifi-LEDs-Controller
LEDs driver for ESP32 ( support ART-NET, RGB888, RGB565, Z888 )
Stars: ✭ 16 (-95.7%)
Mutual labels:  esp32, wifi

ESP32 802.11 Freedom Output

Rickrolling with WiFi Networks

IMPORTANT NOTE

This project is now obsolete, please use esp32-80211-tx instead. esp32-80211-tx makes use of Espressif's esp_wifi_80211_tx API and is compatible with the latest esp-idf version.

I'm still keeping this repository up since some niche use cases might not be compatible with the new esp_wifi_80211_tx API and because lots of sites link to this page. If you still want to use esp32free80211, please be advised that this project is currently incompatible with the latest version of esp32-wifi-lib. In order to get this working, you will need to downgrade to an older version, tested with esp32-wifi-lib git commit ffe5a4c14fe9c933c776fadc62fa9d409929e6f9.

Introduction

Even though Espressif open sourced their IoT Development Framework, the underlying esp32-wifi-lib remains closed source and sparsely documented. Since I still wanted to be able to send arbitrary IEEE 802.11 data frames, I took a look at the ieee80211_freedom_output function in ieee80211_output.o in libnet80211.a. By reverse engineering the assembly code I was able to find a workaround / hack that makes it possible to use ieee80211_freedom_output and force the ESP32 to send data or management frames with custom data.

This functionality can be useful in various ways, e.g. for mesh networking, unidirectional long-distance communication or low-overhead data transmission. It can, however, be abused for spamming large numbers of invalid SSIDs, jamming WiFi networks or sending deauthentication frames in order to sniff SSIDs of hidden wireless networks. Please be advised that such usage is morally doubtful at best and illegal at worst. Use this at your own risk.

Project Description

In order to demonstrate the freedom output functionality, this software broadcasts the infamous lines from Rick Astley's Never gonna give you up. This is achieved by manually assembling IEEE 802.11 beacon frames in main.c and broadcasting them via the hidden ieee80211_freedom_output function in espressif's WiFi stack.

If you want to use raw packet sending functionality in your own project, just copy the components/free80211 component. The only function it exposes is the following:

// buffer: Raw IEEE 802.11 packet to send, will be sent as-is, apart from bytes 24 - 31 which will be set to 0x00 in case buffer[0] is 0x80.
// len: Length of IEEE 802.11 packet. Must be larger than 23 and smaller than or equal 0x578.
int8_t free80211_send(uint8_t *buffer, uint16_t len);

Compile / Flash

This project uses the Espressif IoT Development Framework. With the ESP-IDF installed, execute

make menuconfig

and configure the SDK to use your preferred settings (baudrate, python2 executable, serial flasher port, …) and proceed to compile and flash this project using

make flash

Project License: MIT

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].