authentication - Problems reading and writing MIFARE cards -


when i'm triying read or write mifare classic card following output:

nfc-mfclassic r mfoc_output.mfd mfoc_output.mfd  nfc reader: acs / acr122u picc interface opened expected mifare classic card uid starting as: 00000000 got card uid starting as:                     049f30b2 aborting! 

any ideas?

thank answer michael, that's not working either output:

 nfc-mfclassic r 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 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 read trailer block 0x3f 

the problem lost key file , can't write or read tag, i'm triying generate key file using mfoc after dumping keys file, nfc-mfclassic still says authentication failed

nfc-mfclassic r mfoc_output.mfd mfoc_output.mfd 

you using file mfoc_output.mfd both destination file dumping card contents , source file key material access sectors of card. typically not want overwrite key file.

expected mifare classic card uid starting as: 00000000 got card uid starting as:                     049f30b2 aborting! 

the problem here key file (specified second file name) starts bytes 00 00 00 00. however, nfc-mfclassic checks if file starts first 4 bytes of uid of mifare classic tag , abort dump procedure if don't match.

if using file mfoc_output.mfd both, destination file , key file want, can either edit file start first 4 bytes of tag uid (i.e. 04 9f 30 b2), or can force nfc-mfclassic use file anyways, specifying "force" parameter:

 nfc-mfclassic r mfoc_output.mfd mfoc_output.mfd f 

if don't want use mfoc_output.mfd key file, can use

 nfc-mfclassic r mfoc_output.mfd 

instead, try access mifare sectors using set of default/well-known keys.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -