From c732f08bb7823bdaec6c5bcb72e7ec5d03bd4ad4 Mon Sep 17 00:00:00 2001 From: Mattar B <130059566+hummusec@users.noreply.github.com> Date: Wed, 24 May 2023 15:45:24 +0300 Subject: [PATCH] Reader message, missing free --- README.md | 2 +- scenes/mag_scene_read.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b95228a59df..c49c642a1cc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# magspoof_flipper +# magspoof_flipper by Zachary Weiss WIP of MagSpoof for the Flipper Zero. Basic TX of saved files confirmed working against an MSR90 with an external H-bridge module mirroring Samy Kamkar's design. RFID coil output weaker; able to be picked up/detected by more compact mag readers such as Square, but yet to have success with it being decoded/parsed properly. Additional investigation into alternate internal TX options (CC1101, ST25R3916, piezo) underway; tentatively, RFID coil + speaker (`LF + P` config setting) results in the strongest internal TX tested to date but still weaker than a dedicated external module or an actual card swipe (and sounds like a dial-up modem from hell). Sample files with test data are included in `assets` for anyone wishing to experiment. Disclaimer: use responsibly, and at your own risk. While in my testing, I've seen no reason to believe this could damage the RFID (or other) hardware, this is inherently driving the coil in ways it was not designed or intended for; I take no responsibility for fried/bricked Flippers. Similarly, please only use this with magstripe cards and mag readers you own — this is solely meant as a proof of concept for educational purposes. I neither condone nor am sympathetic to malicious uses of my code. diff --git a/scenes/mag_scene_read.c b/scenes/mag_scene_read.c index 5d779261649..4e73d71351d 100644 --- a/scenes/mag_scene_read.c +++ b/scenes/mag_scene_read.c @@ -82,9 +82,9 @@ void update_widgets(Mag* mag) { void mag_scene_read_on_enter(void* context) { Mag* mag = context; FuriString* message = furi_string_alloc(); - furi_string_printf(message, "Flipper Elite, swipe a card!\n"); + furi_string_printf(message, "Please swipe a card!\n"); mag->uart_text_box_store = message; - + furi_string_free(message); view_dispatcher_switch_to_view(mag->view_dispatcher, MagViewWidget); update_widgets(mag);