Closed bmorcelli closed 6 months ago
Nice..
The need to change the file in Arduino IDE is still there for those who want to build from source.
With that in mind I left the instructions in the prerequisites folder, and I managed to make the @vs4vijay auto compiler to apply the changes in "platform.txt" before compiling in GitHub.
This isn't kicking any of my 2.4GHz-only stuff off my own wifi but I don't mess with deauth much on esp32. I can usually kick my wyze cameras and Particle Photon off pretty easily from the linux command line though.
After running for some minutes, my cardputer reboots with this on the serial monitor:
ESP_ERROR_CHECK failed: esp_err_t 0x101 (ESP_ERR_NO_MEM) at 0x4037fd4c
file: "/home/axon/source/forks/bmor/m5stick-nemo/deauth.h" line 66
func: void wsl_bypasser_send_raw_frame(const uint8_t*, int)
expression: esp_wifi_80211_tx(WIFI_IF_AP, frame_buffer, size, false)
abort() was called at PC 0x4037fd4f on core 1
Backtrace: 0x40377456:0x3fcebd00 0x4037fd59:0x3fcebd20 0x40386529:0x3fcebd40 0x4037fd4f:0x3fcebdc0 0x42004653:0x3fcebde0 0x420046de:0x3fcebe00 0x42006623:0x3fcebe40 0x42009781:0x3fcebe60 0x42023911:0x3fcebe80
ESP32 Exception Decoder renders this stack trace which may or may not help you.
0x40377456: panic_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/panic.c line 408
0x4037fd59: esp_system_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/esp_system.c line 137
0x40386529: abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/newlib/abort.c line 46
0x4037fd4f: _esp_error_check_failed at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/esp_err.c line 43
0x42004653: wsl_bypasser_send_raw_frame(unsigned char const*, int) at /home/axon/source/forks/bmor/m5stick-nemo/deauth.h line 66
0x420046de: wsl_bypasser_send_deauth_frame(wifi_ap_record_t const*, unsigned char) at /home/axon/source/forks/bmor/m5stick-nemo/deauth.h line 83
0x42006623: deauth_loop() at /home/axon/source/forks/bmor/m5stick-nemo/m5stick-nemo.ino line 1845
0x42009781: loop() at /home/axon/source/forks/bmor/m5stick-nemo/m5stick-nemo.ino line 2273
0x42023911: loopTask(void*) at /home/axon/.arduino15/packages/m5stack/hardware/esp32/2.0.9/cores/esp32/main.cpp line 50
Integration is well done. I'll continue testing on other devices.
Whats Up, Noah! I'm sorry for keep you waiting, I was working on my M5Launcher app
I updated the deauth logic and made it simpler, so i shouldn't need so much processing power as it was using before.
Wifi6 networks and mesh network might not work thos deauth... need more study
As I don't have a Cardputer here to test, I will ask you t do the testing :/
I still can't get it to reliably knock anything of mine offline, but it's more stable and it's a starting point. I'm going to bring it into the develop branch and work it in.
Hey @vs4vijay , Just tryed this on my personal (closed) repo, and unfortunetly it didnt work..
showed many copiler error messages on all devices, and the error that we are trying to avoid ( multiple definition of `ieee80211_raw_frame_sanity_check' ) on cardputer.
As I just pasted the shell code I have for linux env, there are things that can be better written in this part of the code.. I will see what I can do to make it more readable and maintainable.
Thanks @bmorcelli, I will try this weekend.
Fixes
New stuff
New files