https://github.com/spacehuhn/esp8266_deauther/tree/testing
Changelog:
I want to merge this as soon as possible but there are probably new bugs in it so please test and report here if everything works :) thanks.
Latest Testing Branch - 27/02/17 17:00 gmt
NodeMCU ESP8266 and WeMos D1 Mini
Android/Chrome
All working great deauthing my Chrombook, Intel Laptop(Ubuntu), Android TV box and Raspberry Pi very successfully at different distances from my AP :-)
New settings working as expected.
Beacon (clone) working as expected.
Will there be another option to use Beacon (spam) that will use the SSID list?
Fantastic, thank you for all the work you have done on this project :100: :+1:
All working great, new features all working as expected, Tested on NodeMCU and WeMos D1 Mini boards :+1:
Latest Branch Feb 27th 2017 19:16 (Paris time)
NodeMCU ESP8266 dev kit
Android/Chrome
First scan => working well.
Select an AP => working well
Scan AP => finds nothing (should find three of my devices), disconnects me, and shows me an empty AP list on reconnect.
Second scan => Exception (28), here's the dump (debug enabled): http://pastebin.com/pLmCHTFs
Latest Branch Feb 27th 2017 5:30
NodeMCU ESP8266 dev kit
Symbian/Opera
No Ap are showing after pressing the Scan button. It should show me 10-14 AP.
Working fine on Laptop Chrome Browser.
Latest Branch Feb 27th 2017 08:00 CET
NodeMCU ESP8266 dev kit
Opera (Mobile)
Everything is now working! Good job @spacehuhn. However I have a suggestion:
The custom SSID list should have an option of spamming.
If I put one SSID in the list it would spam the beacon as if I selected an AP with that name.
Latest Branch Feb 27th 2017 20:00 CET
ESP8266 12 standalone
Chrome + Firefox (Mobile) | Firefox (Desktop)
Everything is working exept: When I select a Ap and try to deauth it it will turn off the Ap of my Esp. After reconnecting andreloading the page it will show 0pkts/s.
@H1ghTech seems like it's crashing, you can set debug = true and have a look what it's printing to the serial monitor.
http://pastebin.com/ZBVgYd8T
somehow it did not disconnect this time but it still shows 0 pkts/s
@H1ghTech have you used the right SDK version? If the deauth attack isnt working it's probably beacause the necessary function can't be used. That's not an issue related to the testing branch, but when it crashes it could be something else - if that happens please paste the log here (but via pastebin or somehing else please).
@whyisthisusernamealreadytaken I will think about that one!
About the APScan bug:
I tested it and it looks like the json string can still get to long and the ESP crashes. The max max size seems to be around 3000 chars. I set maxAPScanResults to 30 (what equals a max json size of ~2870 chars) and it works.
EDIT: It can send more than 4000 chars actually... then that's the max size of the settings json string with all client names. Maybe the AP scan json is just to heavy to generate? Too many variables at once and not enough RAM?
@spacehuhn yes I have the right SDK and it does deauth the clients it's just that it doesn't show the packets
New version works fine. After clicking 'start' on Attack panel, I get disconnected and reconnects to it (not a reboot)
This is still not working in my symbian mobile,I have tried all the browsers.
THis is not working in symbian mobile browsers.
I have a Nokia 5800 and in it none of the browser this is working.
In my pc this is working fine with no error except Clients Page.
Please make it available for symbian too.
Or Please suggest an alternative way.
The symbian plattform is outdated since 2012. It's probably not working because it doens't supports current JavaScript features or JS at all. Don't expect that this will ever work with it, sorry.
About your other issues -> I need the logs!
If the log seems ok use the developer options in your browser to see if the JS produces an error.
Thanks for your reports so far :)
Client scan not working.
works very good now! i can deauth my macbook, the new ssid list vor beacon is very nice! you can merge it to master :)
@spacehuhn
Latest Testing Branch - 2/3/17 5.25 pm (india time)
NodeMCU ESP8266 and WeMos D1 Mini
Android/Chrome
Deauthing test all devices working great : New HP 15-ab205TX-/-Desktop-/-Old Laptop HP HP Pavilion G6-1003TX-/-Lenovo a916 Mobile-/-Lumia 730 Mobile-/-Sony xperia z2 Mobile-/-Intex Mobile-/-Raspberry Pi 2 Model B-/-successfully working fine.
The installation steps have changed. Follow the steps from the testing branch readme and it should work.
@spacehuhn tested the new testing-branch, works...ap-scan works, client-scan works and i was able to deauth my macbook, beacon-clone and list works too :)
edit: hidden sssid works too, it shows only "* Hidden SSID *" now :)
Just added a few more debug infos including to print the generated json and the client scan time. If no one has something against it I would like to procede to merge this into the master branch. Since the only bugs you reported so far were not reproucable for me and most likely because of browser (or human ;) ) incompatibilities.
Just tested latest testing branch :+1:
NodeMCU dev
Android/Chrome
All good and working great, deauthing everything on my network very effectively.
All new features working and seeing hidden networks, thank you @N0vaPixel
The continuous scan button seems to stop after 1 minute, not sure if this is designed to happen but not an issue for me.
Great work @spacehuhn seems good to merge for me :+1:
Will continue testing with other boards.
yeah the continuous scan will eventually stop at some point when a timeout occurs. That's just something which can't be changed the way it's implemented but still better then nothing.
Good to hear that everything works for you! :)
@spacehuhn
Latest Testing Branch - 4/3/17 1.24 am (india time)
NodeMCU ESP8266 and WeMos D1 Mini
Android/Chrome
Every feature test all my devices working great : New HP 15-ab205TX-/-Desktop-/-Old Laptop HP HP Pavilion G6-1003TX-/-Lenovo a916 Mobile-/-Lumia 730 Mobile-/-Sony xperia z2 Mobile-/-Intex Mobile-/-Raspberry Pi 2 Model B-/-successfully working fine.
1.# Error: web page loading problem. // "clients.html" only. #51

2.# setting box values blank

Everything works like a charm :1st_place_medal:
Just cloned the testing version and got this error while trying to conpile :
sketch/APScan.cpp: In member function 'bool APScan::start()':
APScan.cpp:14: error: no matching function for call to 'ESP8266WiFiClass::scanNetworks(bool, bool)'
results = WiFi.scanNetworks(false, true); // lets scanNetworks return hidden APs. (async = false & show_hidden = true)
^
sketch/APScan.cpp:14:44: note: candidate is:
In file included from sketch/APScan.h:6:0,
from sketch/APScan.cpp:1:
/home/tobozo/.arduino15/packages/esp8266/hardware/esp8266/2.0.0/libraries/ESP8266WiFi/src/ESP8266WiFi.h:243:12: note: int8_t ESP8266WiFiClass::scanNetworks(bool)
int8_t scanNetworks(bool async = false);
^
/home/tobozo/.arduino15/packages/esp8266/hardware/esp8266/2.0.0/libraries/ESP8266WiFi/src/ESP8266WiFi.h:243:12: note: candidate expects 1 argument, 2 provided
exit status 1
no matching function for call to 'ESP8266WiFiClass::scanNetworks(bool, bool)'
Changin results = WiFi.scanNetworks(false, true); by results = WiFi.scanNetworks(); seems to fix the problem but I've got a feeling this is going backwards in terms of features.
Do I need to change something to my Wifi library in order to get this working ? I thought Async Wifi scan only happened in an earlier version of the SDK and was not available yet in the 2.0.0
OK then here again.. :D
read the readme - it has changed!
@tobozo
Copy these files and paste them at the location.
user_interface ---> \packages\esp8266\hardware\esp8266\2.0.0\tools\sdk\include
ESP8266WiFi.cpp and ESP8266WiFi.h ---> \packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266WiFi\src
thx, nice fix working just fine now
Update 03/03/2017
Scan for hidden APs (with settings)
Hide and set the channel of your own AP (with settings)
Please test and send me your feedbacks #70
It's merged! Thank you all for your support! 馃憤
If there's still a problem you can open up a new issue.
I'll let the testing branch coexist for future updates and testing.