nfc-mfclassic is a MIFARE Classic tool that allow to read or write
DUMP file using MIFARE keys provided in
MIFARE Classic tag is one of the most widely used RFID tags.
The firmware in the NFC controller supports authenticating, reading and writing
to/from MIFARE Classic tags. This tool demonstrates the speed of this library
and its ease-of-use. Its possible to read and write the complete content of a
MIFARE Classic 4KB tag within 1 second. It uses a binary MIFARE Dump file (MFD)
to store the keys and data for all sectors.
Be cautious that some parts of a MIFARE Classic memory are used for r/w access
of the rest of the memory, so please read the tag documentation before experimenting too much!
f option to format the card will reset all keys to FFFFFFFFFFFF, all data to 00 and all ACLs to default.
W option allows writing of special MIFARE cards that can be unlocked to allow block 0
to be overwritten. This includes UID and manufacturer data. Take care when amending UIDs to set
the correct BCC (UID checksum). Currently only 4 byte UIDs are supported.
R option allows an unlocked read. This bypasses authentication and allows
reading of the Key A and Key B data regardless of ACLs.
R/W errors on some blocks can be either considered as critical or ignored.
To halt on first error, specify keys with lowercase (
b ). To ignore such errors, use uppercase (
*** Note that
R options only work on special versions of MIFARE 1K cards (Chinese clones).