|
|
3 лет назад | |
|---|---|---|
| .github | 3 лет назад | |
| assets | 3 лет назад | |
| helpers | 3 лет назад | |
| icons | 3 лет назад | |
| scenes | 3 лет назад | |
| .gitattributes | 3 лет назад | |
| LICENSE | 3 лет назад | |
| README.md | 3 лет назад | |
| application.fam | 3 лет назад | |
| mag.c | 3 лет назад | |
| mag_device.c | 3 лет назад | |
| mag_device.h | 3 лет назад | |
| mag_i.h | 3 лет назад |
WIP of MagSpoof for the Flipper Zero. Currently rewriting from the ground up; basic TX of saved files should now work over both RFID (using the Flipper's internal coil) and GPIO (pins A6 and A7: such that one can connect an H-bridge and external coil). A sample file with test data is included in assets, for anyone wishing to experiment. Using this README as coarse notes of what remains to be done; anyone is welcome to contribute!
Disclaimer: use responsibly, and at your own risk. While in my testing, I've seen no reason to believe this could damage the RFID 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, and I neither condone nor am sympathetic to malicious uses of my code.
Emulation:
ifs from the FURI_CRITICAL... section of mag_spoof()?)helpers/mag_helpers.cScenes:
File management:
Known bugs:
% sign. Unless escaped, it won't be displayed when printed, as C considers it a special character. To confirm: how does this impact the emulation when iterating through the chars? Does it get played correctly?Internal TX improvements:
External RX options (What is simplest read module?):
This project interpolates work from Samy Kamkar's original MagSpoof project, dunaevai135'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: antirez for bitmapping suggestions and general C wisdom, skotopes for RFID consultation, NVX + dlz for NFC consulation, davethepirate + arha for EE insight and acting as sounding boards, and cool4uma for their work on custom text_input scenes — as well as everyone else I've had the pleasure of chatting with.
For those who wish to support this project, feel free to either tackle any of the TODOs above and send me a pull request, or keep me topped up on caffeine!