[GH-ISSUE #42] Testing Branch #26

Closed
opened 2026-02-27 23:22:33 +03:00 by kerem · 28 comments
Owner

Originally created by @spacehuhn on GitHub (Feb 27, 2017).
Original GitHub issue: https://github.com/SpacehuhnTech/esp8266_deauther/issues/42

https://github.com/spacehuhn/esp8266_deauther/tree/testing

Changelog:

  • added multiple AP selection
  • added Settings
  • added beacon list attack
  • added SSID list
  • optimized JSON/AJAX (bugfix for #5 )
  • scan for hidden SSIDs (thx @N0vaPixel)

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.

Originally created by @spacehuhn on GitHub (Feb 27, 2017). Original GitHub issue: https://github.com/SpacehuhnTech/esp8266_deauther/issues/42 https://github.com/spacehuhn/esp8266_deauther/tree/testing Changelog: - added multiple AP selection - added Settings - added beacon list attack - added SSID list - optimized JSON/AJAX (bugfix for #5 ) - scan for hidden SSIDs (thx @N0vaPixel) 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.
kerem 2026-02-27 23:22:33 +03:00
Author
Owner

@poslogic commented on GitHub (Feb 27, 2017):

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 💯 👍

Edit: Just noticed latest change to include SSID list (re-flashing and testing)

All working great, new features all working as expected, Tested on NodeMCU and WeMos D1 Mini boards 👍

<!-- gh-comment-id:282725588 --> @poslogic commented on GitHub (Feb 27, 2017): 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: Edit: Just noticed latest change to include SSID list (re-flashing and testing) --- All working great, new features all working as expected, Tested on NodeMCU and WeMos D1 Mini boards :+1:
Author
Owner

@tobozo commented on GitHub (Feb 27, 2017):

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

<!-- gh-comment-id:282804667 --> @tobozo commented on GitHub (Feb 27, 2017): 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
Author
Owner

@CyBriDx commented on GitHub (Feb 27, 2017):

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.

<!-- gh-comment-id:282809207 --> @CyBriDx commented on GitHub (Feb 27, 2017): 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.
Author
Owner

@jobr97 commented on GitHub (Feb 27, 2017):

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.

<!-- gh-comment-id:282815859 --> @jobr97 commented on GitHub (Feb 27, 2017): 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.
Author
Owner

@ghost commented on GitHub (Feb 27, 2017):

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.

<!-- gh-comment-id:282818163 --> @ghost commented on GitHub (Feb 27, 2017): 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.
Author
Owner

@spacehuhn commented on GitHub (Feb 27, 2017):

@H1ghTech seems like it's crashing, you can set debug = true and have a look what it's printing to the serial monitor.

<!-- gh-comment-id:282819452 --> @spacehuhn commented on GitHub (Feb 27, 2017): @H1ghTech seems like it's crashing, you can set `debug = true` and have a look what it's printing to the serial monitor.
Author
Owner

@ghost commented on GitHub (Feb 27, 2017):

http://pastebin.com/ZBVgYd8T
somehow it did not disconnect this time but it still shows 0 pkts/s

<!-- gh-comment-id:282822343 --> @ghost commented on GitHub (Feb 27, 2017): http://pastebin.com/ZBVgYd8T somehow it did not disconnect this time but it still shows 0 pkts/s
Author
Owner

@spacehuhn commented on GitHub (Feb 27, 2017):

@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?

<!-- gh-comment-id:282833382 --> @spacehuhn commented on GitHub (Feb 27, 2017): @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?
Author
Owner

@ghost commented on GitHub (Feb 27, 2017):

@spacehuhn yes I have the right SDK and it does deauth the clients it's just that it doesn't show the packets

<!-- gh-comment-id:282843153 --> @ghost commented on GitHub (Feb 27, 2017): @spacehuhn yes I have the right SDK and it does deauth the clients it's just that it doesn't show the packets
Author
Owner

@nisc3 commented on GitHub (Feb 28, 2017):

New version works fine. After clicking 'start' on Attack panel, I get disconnected and reconnects to it (not a reboot)

<!-- gh-comment-id:283024207 --> @nisc3 commented on GitHub (Feb 28, 2017): New version works fine. After clicking 'start' on Attack panel, I get disconnected and reconnects to it (not a reboot)
Author
Owner

@CyBriDx commented on GitHub (Feb 28, 2017):

This is still not working in my symbian mobile,I have tried all the browsers.

<!-- gh-comment-id:283079847 --> @CyBriDx commented on GitHub (Feb 28, 2017): This is still not working in my symbian mobile,I have tried all the browsers.
Author
Owner

@CyBriDx commented on GitHub (Feb 28, 2017):

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.

<!-- gh-comment-id:283105890 --> @CyBriDx commented on GitHub (Feb 28, 2017): 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.
Author
Owner

@spacehuhn commented on GitHub (Feb 28, 2017):

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 :)

<!-- gh-comment-id:283135208 --> @spacehuhn commented on GitHub (Feb 28, 2017): 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 :)
Author
Owner

@nisc3 commented on GitHub (Mar 1, 2017):

Client scan not working.

<!-- gh-comment-id:283324069 --> @nisc3 commented on GitHub (Mar 1, 2017): Client scan not working.
Author
Owner

@tpmodding commented on GitHub (Mar 1, 2017):

works very good now! i can deauth my macbook, the new ssid list vor beacon is very nice! you can merge it to master :)

<!-- gh-comment-id:283467043 --> @tpmodding commented on GitHub (Mar 1, 2017): works very good now! i can deauth my macbook, the new ssid list vor beacon is very nice! you can merge it to master :)
Author
Owner

@joneroy commented on GitHub (Mar 2, 2017):

@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.

Bugs:

  1. Error: web page loading problem. // "clients.html" and "attack.html" #51
  2. deauth working late press start button afer 5 sec later its working.
<!-- gh-comment-id:283638693 --> @joneroy commented on GitHub (Mar 2, 2017): @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. # Bugs: 1. Error: web page loading problem. // "clients.html" and "attack.html" #51 2. deauth working late press start button afer 5 sec later its working.
Author
Owner

@spacehuhn commented on GitHub (Mar 3, 2017):

The installation steps have changed. Follow the steps from the testing branch readme and it should work.

<!-- gh-comment-id:283935499 --> @spacehuhn commented on GitHub (Mar 3, 2017): The installation steps have changed. Follow the steps from the testing branch readme and it should work.
Author
Owner

@tpmodding commented on GitHub (Mar 3, 2017):

@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 :)

<!-- gh-comment-id:283941570 --> @tpmodding commented on GitHub (Mar 3, 2017): @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 :)
Author
Owner

@spacehuhn commented on GitHub (Mar 3, 2017):

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.

<!-- gh-comment-id:283949180 --> @spacehuhn commented on GitHub (Mar 3, 2017): 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.
Author
Owner

@poslogic commented on GitHub (Mar 3, 2017):

Just tested latest testing branch 👍
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 👍
Will continue testing with other boards.

<!-- gh-comment-id:283994180 --> @poslogic commented on GitHub (Mar 3, 2017): 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.
Author
Owner

@spacehuhn commented on GitHub (Mar 3, 2017):

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! :)

<!-- gh-comment-id:284035384 --> @spacehuhn commented on GitHub (Mar 3, 2017): 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! :)
Author
Owner

@joneroy commented on GitHub (Mar 3, 2017):

@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.

Bugs:

1.# Error: web page loading problem. // "clients.html" only. #51
untitled

2.# setting box values blank
untitled

Everything works like a charm 🥇

<!-- gh-comment-id:284057063 --> @joneroy commented on GitHub (Mar 3, 2017): @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. # **Bugs:** 1.# **Error: web page loading problem. // "clients.html" only.** #51 ![untitled](https://cloud.githubusercontent.com/assets/26072408/23567019/608917be-007a-11e7-8232-f3108ffaed4b.png) 2.# **setting box values blank** ![untitled](https://cloud.githubusercontent.com/assets/26072408/23568211/87098090-007f-11e7-9d82-4445352540f5.png) Everything works like a charm :1st_place_medal:
Author
Owner

@tobozo commented on GitHub (Mar 3, 2017):

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

<!-- gh-comment-id:284087823 --> @tobozo commented on GitHub (Mar 3, 2017): 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
Author
Owner

@spacehuhn commented on GitHub (Mar 3, 2017):

OK then here again.. :D
read the readme - it has changed!

<!-- gh-comment-id:284088468 --> @spacehuhn commented on GitHub (Mar 3, 2017): OK then here again.. :D read the readme - it has changed!
Author
Owner

@joneroy commented on GitHub (Mar 3, 2017):

@tobozo

Copy these files and paste them at the location.

Use sdk_fix files it's updated testing branch

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

<!-- gh-comment-id:284090664 --> @joneroy commented on GitHub (Mar 3, 2017): @tobozo Copy these files and paste them at the location. # **Use sdk_fix files it's updated testing branch** 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
Author
Owner

@tobozo commented on GitHub (Mar 3, 2017):

thx, nice fix working just fine now

<!-- gh-comment-id:284092990 --> @tobozo commented on GitHub (Mar 3, 2017): thx, nice fix working just fine now
Author
Owner

@N0vaPixel commented on GitHub (Mar 3, 2017):

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

<!-- gh-comment-id:284096787 --> @N0vaPixel commented on GitHub (Mar 3, 2017): 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
Author
Owner

@spacehuhn commented on GitHub (Mar 4, 2017):

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.

<!-- gh-comment-id:284166602 --> @spacehuhn commented on GitHub (Mar 4, 2017): 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/esp8266_deauther#26
No description provided.