An example project to demonstrate packet injection / sniffer capabilities of ESP8266 IC.
Switch branches/tags
Nothing to show
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
driver first commit Sep 25, 2015
esp_iot_sdk_v1.3.0 Integrated the required sdk into the project. Jan 28, 2016
include/driver first commit Sep 25, 2015
user Typo (variable channel was not used) Sep 25, 2016
Makefile Integrated the required sdk into the project. Jan 28, 2016 Referenced another repo with object files Oct 23, 2017

ESP8266 packet injection/sniffer example

Warning! This example runs with a particular SDK build that is now integrated into this project. Future versions of the esp_iot_sdk removed the ability to send wifi control frames with wifi_send_pkt_freedom. I recommend checking for the relevant object files if you want to use both newer SDK and wifi_send_pkt_freedom the way it was implemented in this SDK build.

This example project utilizes sniffer capabilities of ESP8266 to perform deauth attack. The communication between the victim and access point (AP) is traced by wifi_set_promiscuous_rx_cb while packet injection is performed by wifi_send_pkt_freedom. To use the example adjust the Makefile and change MAC addresses in user/user_main.c.