|
|
%!s(int64=2) %!d(string=hai) anos | |
|---|---|---|
| .. | ||
| .github | %!s(int64=2) %!d(string=hai) anos | |
| assets | %!s(int64=2) %!d(string=hai) anos | |
| helpers | %!s(int64=2) %!d(string=hai) anos | |
| icons | %!s(int64=2) %!d(string=hai) anos | |
| scenes | %!s(int64=2) %!d(string=hai) anos | |
| .gitattributes | %!s(int64=2) %!d(string=hai) anos | |
| .gitsubtree | %!s(int64=2) %!d(string=hai) anos | |
| LICENSE | %!s(int64=2) %!d(string=hai) anos | |
| README.md | %!s(int64=2) %!d(string=hai) anos | |
| application.fam | %!s(int64=2) %!d(string=hai) anos | |
| mag.c | %!s(int64=2) %!d(string=hai) anos | |
| mag_device.c | %!s(int64=2) %!d(string=hai) anos | |
| mag_device.h | %!s(int64=2) %!d(string=hai) anos | |
| mag_i.h | %!s(int64=2) %!d(string=hai) anos | |
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.
I made this fork initially to add reading capability using UART magnetic card readers.
Things that changed in this fork:
For those desiring better TX than the internal RFID coil can offer, one can build the module below, consisting of an H-bridge, a capacitor, and a coil.
Known bugs:
flipper_format_read_string() doesn't seem to return false. Is the bug in my code, or with flipper_format?
flipper_format lib for parsing.Emulation:
furi_delay_us aliasing to 64usScenes:
input_value)input_name)File management:
Internal TX improvements:
External RX options:
Attempting to exploit flipper hardware to some extent
This project interpolates work from Samy Kamkar's original MagSpoof project, Alexey D. (dunaevai135) & Alexandr Yaroshevich's Flipper hackathon project, and the Flipper team's LF RFID and SubGhz apps.
Many thanks to everyone who has helped in addition to those above, most notably: