SpacehuhnTech / esp8266_deauther

Affordable WiFi hacking platform for testing and learning
http://deauther.com
Other
13.34k stars 2.57k forks source link

Disconnects upon deauth #133

Closed Clon3d closed 7 years ago

Clon3d commented 7 years ago

Please read issues.md and the readme before posting a new issue. Thanks!

Hello, using version 1.1 bin. whenever I try to death it says starting then loses all connection causing me to have to do a full reboot and does not work against the wifi networks. I tried version 2.0 but will not compile correctly following your exact instructions. please reply or PM me for details. thanks

Niklaus1911 commented 7 years ago

i have the same issue...

spacehuhn commented 7 years ago

What does it say in the serial monitor?

I tried version 2.0 but will not compile correctly following your exact instructions.

You need the SDK version 2.0.0. If you get an error than that's an other issue.

RMOA789 commented 7 years ago

Same issue. For some APs it's working well without disconnecting, but for other APs, I get an unavailable webpage. Already tried with different smartphones.

Flashing with the bin file from the git.

elliot12 commented 7 years ago

Also the same issue. I can deauth an entire network but when scanning for devices on the network to deauth individually the esp8266 restarts. Other than that though, its working 100%. Thanks for the great work @spacehuhn πŸ‘

jLynx commented 7 years ago

I also have this issue

Running Android 7.1.1

jLynx commented 7 years ago

I have noticed, if im connected to the deauther on my computer it works fine, but if I try it on my phone it does exactly what the problem describes. But im not sure, it could just be a coincidence

spacehuhn commented 7 years ago

but when scanning for devices on the network to deauth individually the esp8266 restarts.

Your problem is that it's getting disconnected when scanning for clients?

elliot12 commented 7 years ago

Correct. It won't let me see individual devices on a given AP. It just disconnects and comes on again about 10-15 seconds after but still doesn't show me the clients. I used the bin file btw.

On 31 Mar 2017 10:22, "Stefan Kremser" notifications@github.com wrote:

but when scanning for devices on the network to deauth individually the esp8266 restarts.

Your problem is that it's getting disconnected when scanning for clients?

β€” You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/spacehuhn/esp8266_deauther/issues/133#issuecomment-290663391, or mute the thread https://github.com/notifications/unsubscribe-auth/AZkccQxkZziZu9SYciZRWy9Yp-gUQILmks5rrMW9gaJpZM4Mh1Y2 .

spacehuhn commented 7 years ago

It's normal that it disconnects, it has to do that in order to scan for devices. To find devices they have to send packets while you are scanning, so make sure you generate some traffic in this network (by loading a site for example). Also note that if your network has 2.4 and 5Ghz it will only find the devices which are using the 2.4Ghz connection.

Fireflaker commented 7 years ago

Would it be possible to develop it based on ESP32? It is just as cheap and has 2x 160MHz cores with both bluetooth and wifi. The dual core should make coding a lot easier. Stefan Kremser notifications@github.com于2017εΉ΄3月31ζ—₯ ε‘¨δΊ”δΈŠεˆ11:04ε†™ι“οΌš

It's normal that it disconnects, it has to do that in order to scan for devices. To find devices they have to send packets while you are scanning, so make sure you generate some traffic in this network (by loading a site for example). Also note that if your network has 2.4 and 5Ghz it will only find the devices which are using the 2.4Ghz connection.

β€” You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/spacehuhn/esp8266_deauther/issues/133#issuecomment-290737521, or mute the thread https://github.com/notifications/unsubscribe-auth/AVn2Q0osPIL6sPkOhPwHg3LDIZAGwNrNks5rrRYVgaJpZM4Mh1Y2 .

spacehuhn commented 7 years ago

The ESP32 isn't able to inject packets, so no :(

jLynx commented 7 years ago

This is the problem I am having https://imgur.com/iSISaNa

It gets to starting then times out the page when it try to reload. But it does stay connected to the device, as per the WiFi icon in the notification bar. But I cannot access any page from it now until I reset the power

spacehuhn commented 7 years ago

Yeah... I still need the serial log from you guys.

jLynx commented 7 years ago

@spacehuhn Oops sorry didn't see that message

Ok..typical... it works this time. Anyway here is my log https://pastebin.com/qWd5MFZw

On line 85 it finally shows the page again with 8pkts where normally it wouldn't get that far and timeout like I explained earlier

spacehuhn commented 7 years ago

thank you. The device isn't crashing and doesn't throw any other error.

jLynx commented 7 years ago

I have tested it 2 other times since that post and both have timed out, no error messages or anything out of the ordinary.

spacehuhn commented 7 years ago

Sorry I didn't want to close it! (stupid phones..) Anyway... can you access the website with another device?

jLynx commented 7 years ago

Yes on my desktop I have no problems (So same test, phone cant connect once deauthing but desktop can). Just tried again and and it worked perfectly like it should and instantly started deauthing, where before in that log I sent it took at least 30 seconds or more before it started working (Website showing up anyway).

Its as if some thread is blocking the web server from working or something like that

spacehuhn commented 7 years ago

OK yes that's really weird. It's not like that the ESP8266 doesn't send the website or something, because then it also wouldn't work with your PC.

jLynx commented 7 years ago

Could it be a way Android's Chrome handles the requests or something?

jLynx commented 7 years ago

Ok it just happened again while logging, and there is no crashes just the constant running deauth attack message. no matter what I did on my phone I could not access it. I tried disconnecting and reconnecting and that didn't work, but on my desktop I connected to the point and I can see the attack still running and then stop it with no problems.

Now i'm getting timeout (took too long to respond) with a 504 error on my phone trying to load the site, but no errors in the logs in console

spacehuhn commented 7 years ago

I maybe found a solution. Scan for the network you want to deauth. Look what channel it uses and then go to settings and set the channel to the same value. Then restart your ESP8266 and try to deauth that network.

I shouldn't loose the connection then.

jLynx commented 7 years ago

That seems to fix the problem! Thanks @spacehuhn

Now do you think it's possible to fix this in software or is it just a problem we will have to live with?

jLynx commented 7 years ago

@spacehuhn can this issue be closed now?