-
Notifications
You must be signed in to change notification settings - Fork 169
Addes Deauth, SD fix to M5sticks amd Song to M5sticks #84
Conversation
bump up font size in wifi scan
Plus2/Cardputer improvements
Spelling mistake on line 21 - portal.h
Added Attack Menu on Wifi Scan, with Deauth and Beacon Deauth Added support to SD Card to M5StickC plus 2 (might work on plus anc normal Cs) Added suport to songs.h to Plus and Plus2 (playing mario theme at start)
added my changelog
Modify trigger and Generate release notes
back to original
Added script to add -w and -zmuldefs to platform.txt on auto build
fixed folder
Deauth auto compile
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Getting pretty close. I'm going to try building your branch again from my side.
Spelling mistake on line 21 - portal.h
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. |
Added SPEAKER.stop(); at the end of the StickCplus to save energy and play lower freqs
Add Apple Vision Pro
Added Apple Vision Pro (not sure if correct.)
Change line 1084 to { TXT_BACK, 30},
Added Apple Vision Pro before AppleTV in AppleJuice
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:
ESP32 Exception Decoder renders this stack trace which may or may not help you.
Integration is well done. I'll continue testing on other devices. |
Add compatibility to M5Stick Launcher
Updated deauth functions in order to lower the processing while sending packages. Alse, adjusted delay between packages to 100ms.
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. |
# Full path to the file to be edited | ||
file="$baseFolder/$latestVersion/platform.txt" | ||
backupFile="$baseFolder/$latestVersion/platform.txt.bkp" | ||
prefix="build.extra_flags.esp32" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @bmorcelli, Thanks for working on this change. I was looking at the code for deauth. I was just thinking, instead of messing around with platform.txt, if we could update the arduino-cli command on Line No. 157, it would be more readable and maintainable.
e.g.
arduino-cli compile --fqbn ${{ matrix.board.fqbn }} -e \
--build-property build.partitions=huge_app \
--build-property upload.maximum_size=3145728 \
--build-property compiler.cpp.extra_flags="${extra_flags}" \
--build-property build.extra_flags.esp32=" -w " \
--build-property compiler.c.elf.libs.esp32=" -zmuldefs " \
./m5stick-nemo.ino
I haven't tested this change, Just thinking if this works then we can do this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I Was looking Marauders Actions, trying to understand how he modified this platform.txt file... he did this:
- name: Modify platform.txt
run: |
echo "Chicken"
for i in $(find /home/runner/.arduino15/packages/esp32/hardware/esp32/ -name "platform.txt"); do
sed -i 's/compiler.c.elf.libs.esp32c3=/compiler.c.elf.libs.esp32c3=-zmuldefs /' "$i"
sed -i 's/compiler.c.elf.libs.esp32s3=/compiler.c.elf.libs.esp32s3=-zmuldefs /' "$i"
sed -i 's/compiler.c.elf.libs.esp32s2=/compiler.c.elf.libs.esp32s2=-zmuldefs /' "$i"
sed -i 's/compiler.c.elf.libs.esp32=/compiler.c.elf.libs.esp32=-zmuldefs /' "$i"
cat "$i" | grep compiler.c.elf.libs.esp32c3
cat "$i" | grep compiler.c.elf.libs.esp32s3
cat "$i" | grep compiler.c.elf.libs.esp32s2
cat "$i" | grep compiler.c.elf.libs.esp32
done
I is far more readable and easy to understand.. we just need to change the base folder to the M5Stack current version folder, so we can try this sample:
- name: Setup platform.txt
run: |
for i in $(find /home/runner/.arduino15/packages/m5stack/hardware/esp32/ -name "platform.txt"); do
sed -i 's/compiler.c.elf.libs.esp32c3=/compiler.c.elf.libs.esp32c3=-zmuldefs /' "$i"
sed -i 's/compiler.c.elf.libs.esp32s3=/compiler.c.elf.libs.esp32s3=-zmuldefs /' "$i"
sed -i 's/compiler.c.elf.libs.esp32s2=/compiler.c.elf.libs.esp32s2=-zmuldefs /' "$i"
sed -i 's/compiler.c.elf.libs.esp32=/compiler.c.elf.libs.esp32=-zmuldefs /' "$i"
cat "$i" | grep compiler.c.elf.libs.esp32c3
cat "$i" | grep compiler.c.elf.libs.esp32s3
cat "$i" | grep compiler.c.elf.libs.esp32s2
cat "$i" | grep compiler.c.elf.libs.esp32
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CC: @n0xa
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