ESP8266 sniffer sample

azarubkin
Posts: 6
Joined: Wed Sep 02, 2015 6:13 pm

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.

azarubkin
Posts: 6
Joined: Wed Sep 02, 2015 6:13 pm

Re: ESP8266 sniffer sample

Postby azarubkin » Fri Sep 04, 2015 3:54 pm

Okay, after contacting Espressif they emailed me the sources for sniffer example which works with SDK 1.3.0.

koltegirish97
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

uts
Posts: 1
Joined: Thu Sep 10, 2015 4:06 pm

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

amirsh
Posts: 1
Joined: Sun Sep 20, 2015 11:57 pm

Re: ESP8266 sniffer sample

Postby amirsh » Mon Sep 21, 2015 12:21 am

Hi

Can you please E-mail me the source, I am also working on a sniffer project

Thank you
Amir

pulkin
Posts: 1
Joined: Sat Sep 26, 2015 2:56 am

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!

jead
Posts: 1
Joined: Wed Oct 28, 2015 2:27 am

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.

Who is online

Users browsing this forum: No registered users and 27 guests