When I'm triying to read or write a MIFARE Classic card I get the following output:
nfc-mfclassic r a mfoc_output.mfd mfoc_output.mfd
NFC reader: ACS / ACR122U PICC Interface opened
Expected MIFARE Classic card with UID starting as: 00000000
Got card with UID starting as: 049f30b2
Aborting!
Any ideas?
Thank you for your answer Michael, but that's not working either This is the output:
nfc-mfclassic r a mfoc_output.mfd NFC reader: ACS / ACR122U PICC Interface opened Found MIFARE Classic card: ISO/IEC 14443A (106 kbps) target: ATQA (SENS_RES): 00 04 UID (NFCID1): 04 9f 30 b2 SAK (SEL_RES): 08 Guessing size: seems to be a 1024-byte card Reading out 64 blocks |nfc_initiator_transceive_bytes: Mifare Authentication Failed nfc_initiator_transceive_bytes: Mifare Authentication Failed nfc_initiator_transceive_bytes: Mifare Authentication Failed nfc_initiator_transceive_bytes: Mifare Authentication Failed nfc_initiator_transceive_bytes: Mifare Authentication Failed nfc_initiator_transceive_bytes: Mifare Authentication Failed nfc_initiator_transceive_bytes: Mifare Authentication Failed ! failed to read trailer block 0x3f
The problem is that I lost the key file and now I can't write or read that tag, i'm triying to generate a key file using mfoc but after dumping keys to a file, nfc-mfclassic still says authentication failed