0xchocolate / flipperzero-wifi-marauder

Flipper Zero WiFi Marauder companion app
GNU General Public License v3.0
661 stars 49 forks source link

Save marauder pcap's to flipper sdcard #6

Closed fOmey closed 1 year ago

fOmey commented 1 year ago

Description of the feature you're suggesting.

Instead of adding an additional sdcard slot to the breakout board could we potentially save pcaps's to the flipper's sdcard?

Anything else?

No response

tcpassos commented 1 year ago

I opened a PR to the official repository with this implementation. Waiting now.

fOmey commented 1 year ago

I opened a PR to the official repository with this implementation. Waiting now.

Very cool, can you go into a little detail on how it works? What additional pins are required?

tcpassos commented 1 year ago

Both the wifi devboard and the flipper have an additional serial channel (Low Power UART), which serves for data transmission. The PR I submitted to the Marauder firmware repo allows the wifi board to send packets through serial instead of SD card. And the PR I made for this repo allows the app on the flipper to listen to these packets and write them to the internal SD card.

If you are using the original wifi devboard, no hardware modification is needed, just snap the board into the flipper. If it is another wifi card, you would have to confirm that the LP_TX/LP_RX pins are properly connected to the flipper's LP_RX/LP_TX inputs.

robimdev commented 1 year ago

I see that the compiled .fap was added into RM firmware, however after desoldering the shifting sd-card i had attached on the dev board, i can't find any pcap files saved anywhere on the sd-card. What modifications are required?

tcpassos commented 1 year ago

I see that the compiled .fap was added into RM firmware, however after desoldering the shifting sd-card i had attached on the dev board, i can't find any pcap files saved anywhere on the sd-card. What modifications are required?

You need modified devboard firmware too: https://github.com/tcpassos/ESP32Marauder/releases

Detail, if you want to build the firmware of the devboard directly from the source, you need to uncomment "#define WRITE_PACKETS_SERIAL" from the configs.h file.

Jbvh commented 1 year ago

I've installed the esp32_marauder_no_sd_20230301.bin in to my wifi devboard but it hasn't saved scanned eapols to the flipper zero sd card. Do I need to install an additional firmware for the flipper for this to work?

tcpassos commented 1 year ago

I've installed the esp32_marauder_no_sd_20230301.bin in to my wifi devboard but it hasn't saved scanned eapols to the flipper zero sd card. Do I need to install an additional firmware for the flipper for this to work?

You need the modified FAP file to receive packets through serial: https://github.com/tcpassos/flipperzero-firmware-with-wifi-marauder-companion/releases

The latest version of RogueMaster already incorporated this implementation.