ESP8266 sniffer sample
ESP8266 sniffer sample
Postby azarubkin » Wed Sep 02, 2015 6:22 pm
Hello,
I'm trying to compile a simple packet sniffer. I took it here: https://github.com/davruet/esp8266-sniffer. I've compiled it with SDK 1.3.0 succesfully (using esp-open-sdk). However, after flashing it just hops from one channel to the next one, and does not display any captured packets.
I have Wi-Fi router installed in the same room, so there should be some output. I switched the router to b/g mode without encryption, but got no result.
Do you have any ideas why the code does not work? Do you have a working sample code for sniffer?
Any help would be appreciated.
I'm trying to compile a simple packet sniffer. I took it here: https://github.com/davruet/esp8266-sniffer. I've compiled it with SDK 1.3.0 succesfully (using esp-open-sdk). However, after flashing it just hops from one channel to the next one, and does not display any captured packets.
I have Wi-Fi router installed in the same room, so there should be some output. I switched the router to b/g mode without encryption, but got no result.
Do you have any ideas why the code does not work? Do you have a working sample code for sniffer?
Any help would be appreciated.
-
- Posts: 11
- Joined: Fri Jul 31, 2015 2:12 pm
Re: ESP8266 sniffer sample
Postby koltegirish97 » Fri Sep 04, 2015 7:24 pm
azarubkin wrote:Okay, after contacting Espressif they emailed me the sources for sniffer example which works with SDK 1.3.0.
Can you mail me on trendchaster@gmail.com Me to working on it.Thanks in advance
Re: ESP8266 sniffer sample
Postby uts » Thu Sep 10, 2015 4:08 pm
Hi,
Could you also send me the file. I am working on a similar project. busybee.utsav@gmail.com
Could you also send me the file. I am working on a similar project. busybee.utsav@gmail.com
Re: ESP8266 sniffer sample
Postby pulkin » Sat Sep 26, 2015 3:01 am
Hi,
I have put an example for esp8266 sniffer+injection on GitHub:
https://github.com/pulkin/esp8266-injection-example
Requires SDK 1.4.0. Enjoy!
I have put an example for esp8266 sniffer+injection on GitHub:
https://github.com/pulkin/esp8266-injection-example
Requires SDK 1.4.0. Enjoy!
Re: ESP8266 sniffer sample
Postby jead » Wed Oct 28, 2015 3:40 am
Hello, pulkin.
Great work! Thank you for share with us.
I tested your code and sniffer capability worked very well. But in injection tests, I had no success unfortunately. When I check the value of parameter returned by the "wifi_send_pkt_freedom" function, it is always negative (-1), so, failed to send. I'm using SDK 1.4.0.
Could you help me?
Thank you so much.
Great work! Thank you for share with us.
I tested your code and sniffer capability worked very well. But in injection tests, I had no success unfortunately. When I check the value of parameter returned by the "wifi_send_pkt_freedom" function, it is always negative (-1), so, failed to send. I'm using SDK 1.4.0.
Could you help me?
Thank you so much.
Who is online
Users browsing this forum: No registered users and 27 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.