Closed michiel1106 closed 1 week ago
the main question in this case would be what version of sdk did you use to make it work properly?
Hi To answer your question first, I'm using the latest SDK version available. I cannot see any issues with the log you sent me apart from a few warnings which also occur on my side. Can you send the full log? I believe there should be at least a failure message included after the size reporting. Which dev board exactly are you using? Have you bridged the log UART and upload UART?
just to confirm: is it 3.1.6 or 3.1.7?
It compiles with some warnings for me but I can't figure out: 1) it doesn't disconnect any devices from the network. 2) it only finds 2.4ghz networks
just to confirm: is it 3.1.6 or 3.1.7?
Probably 3.1.6 if .7 is out just recently, I can test it in a few moments.
No, I am using 3.1.7 and it works as expected. The only difference i can see is that I am using Arch Linux and you seem to be using Windows. Are you able to test if it works if you upload it under Linux? Also, how can you say that uploading doesn't work and then that it works only for 2.4GhZ?
Okay so im kind of stupid, it wasnt the program, it just wasnt in uart mode, but idk how to put it in uart mode, any advice? I tried connecting the pins like this
but yeah, ididnt work
There's an option in the arduino-ide to upload automatically. It's called auto flash mode and under tools and needs to be enabled.
tried that too before but it didnt work, gonna try again
Start Erase Flash Erasing...........error: Device not supports Auto Upload Mode
this is just erasing but still
uploading doesnt work either
Try starting the upload and when its in the detecting state, try holding BURN, while doing that pressing and releasing RST and then releasing BURN.
Another thing to try would be using a lower upload baud
doesnt seem to do anything, ill try the lower baud
nope
just to confirm, changing baud is in tools->upload speed right?
these are my two options
Yes, just try the other upload speed, maybe that works for you. I am using 1500000
I was using the other
both dont work, I tried a bunch of pin configurations n stuff, which do you use to open your port?
omfg im such an idiot, I had the pin layout I posted earlier in reverse, fuckin hell
IT WORKED
I am wondering, the same network has a bunch of different codes, is there a way to attack all of them?
Great! What different codes are you talking about?
when you launch the thingie theres a site, where you select the codes and such
and then deauth
but my wifi has multiple 5ghz networks on the same network
and what are the reason codes?
Deauthing multiple networks is currently not supported, due to a limitation that the wifi channel cannot be switched after it has been initialized once. For the codes, 6 and 23 are working nicely for deauthing, but using all one after another wouldnt make any difference in the deauth
The reason codes just tell the device to be deauthed why it was deauthed. I believe its even possible with some to make the phone or pc think that its password for the wifi is incorrect and display that.
oh, dangit, there is no way to change the channel thing?
I can try checking the libs for the channel limitation but I dunno how long it will take me, gonna look into it in the next days
omg it worked lmao
one channel was good enough apparantly
idk why
Yea, if you want to deauth just one network it is perfectly fine. i thought you wanted to deauth other networks at the same time too, thats what i was talking about
I realize now, there were multiple options bcause the RSSI was different
but there were only 2 channel types, 40 and 10
Ah get it, pretty random that those are the only channels you have in your region
Are you the one, who opened the other issue? If so, I'm just gonna close it
天哪我真是个白痴,我之前发的图钉布局是反过来的,见鬼
Hey man, I'm having exactly issue as u did, can you please tell me what's the correct pin layout?
https://github.com/tesa-klebeband/RTL8720dn-Deauther/issues/3#issuecomment-2335688370
heres the comment with the png of the pin layout, make sure to not reverse it or accidentally mirror it. if it doesnt work take out the wites and do it again properly
There are also multiple pinouts for different boards, so check if you are using the correct one
I have a bw16 kit, heres the error log:
C:\Users\michi\Downloads\RTL8720dn-Deauther\wifi_cust_tx.cpp: In function 'void wifi_tx_raw_frame(void, size_t)': C:\Users\michi\Downloads\RTL8720dn-Deauther\wifi_cust_tx.cpp:12:50: warning: pointer of type 'void ' used in arithmetic [-Wpointer-arith] void frame_control = alloc_mgtxmitframe(ptr + 0xae0); ^~~~~ C:\Users\michi\Downloads\RTL8720dn-Deauther\wifi_cust_tx.cpp:15:50: warning: pointer of type 'void ' used in arithmetic [-Wpointer-arith] update_mgntframe_attrib(ptr, frame_control + 8); ^ C:\Users\michi\Downloads\RTL8720dn-Deauther\wifi_cust_tx.cpp:16:50: warning: pointer of type 'void ' used in arithmetic [-Wpointer-arith] memset((void )(uint32_t )(frame_control + 0x80), 0, 0x68); ^~~~ C:\Users\michi\Downloads\RTL8720dn-Deauther\wifi_cust_tx.cpp:17:68: warning: pointer of type 'void ' used in arithmetic [-Wpointer-arith] uint8_t frame_data = (uint8_t )(uint32_t )(frame_control + 0x80) + 0x28; ^~~~ C:\Users\michi\Downloads\RTL8720dn-Deauther\wifi_cust_tx.cpp:19:35: warning: pointer of type 'void ' used in arithmetic [-Wpointer-arith] (uint32_t )(frame_control + 0x14) = length; ^~~~ C:\Users\michi\Downloads\RTL8720dn-Deauther\wifi_cust_tx.cpp:20:35: warning: pointer of type 'void ' used in arithmetic [-Wpointer-arith] (uint32_t *)(frame_control + 0x18) = length; ^~~~ C:\Users\michi\Downloads\RTL8720dn-Deauther\RTL8720dn-Deauther.ino: In function 'void handleRoot(WiFiClient&)': C:\Users\michi\Downloads\RTL8720dn-Deauther\RTL8720dn-Deauther.ino:130:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < scan_results.size(); i++) {
^~~~~~~ C:\Users\michi\AppData\Local\Arduino15\packages\realtek\hardware\AmebaD\3.1.7\libraries\WiFi\src\WiFiClient.cpp: In member function 'virtual uint8_t WiFiClient::connected()': C:\Users\michi\AppData\Local\Arduino15\packages\realtek\hardware\AmebaD\3.1.7\libraries\WiFi\src\WiFiClient.cpp:34:16: warning: comparison is always false due to limited range of data type [-Wtype-limits] if ((_sock < 0) || (_sock == 0xFF)) {