如何访问Mi-fare超轻1k标签

时间:2012-05-23 11:30:37

标签: nfc mifare

请帮助我如何访问Mi-fare超轻1k标签。

我尝试了命令

ff 82 00 01 06 ff ff ff ff ff ff and ff 82 00 01 06 A1 A2 A3 A4 A5 A6

在读者上成功加载。

但是当我尝试命令时

ff 88 00 01 60 00

用于使用标记进行身份验证

状态字 63 00(操作失败)

日志列在下面

[ACS ACR122 0] : Running script
[1] > ff 82 00 01 06 FF FF FF FF FF FF
< 90 00
[2] > ff 88 00 01 60 00
< 63 00
[ACS ACR122 0] : Running script
[1] > ff 82 00 01 06 A1 A2 A3 A4 A5 A6
< 90 00
[2] > ff 88 00 01 60 00
< 63 00

MIFARE 1K标签的ATR我正在使用

3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 01 00 00 00 00 6A

下面给出了ACR122U读卡器附带的MIFARE 1K标签脚本。 哪个也不成功

MIFARE 1K卡和ACR122U PC / SC读卡器的演示脚本

(c)2008年,Advanced Card Systems Ltd.

[1] Load (Mifare Default) key in reader (key location 0)
FF 82 00 00 06 FF FF FF FF FF FF (9000)

; [2] Authenticate sector 0, Block 0 with key at location 0
FF 86 00 00 05 01 00 00 60 00 (9000)

; [3] Read the full 16 bytes from Sector 0, Block 1
FF B0 00 01 10 [xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx] (9000)

; [4] Update the 16 bytes in Sector 0, block 1
FF D6 00 01 10 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F (9000)

; [5] Read the full 16 bytes from Sector 0, Block 1 again
FF B0 00 01 10 [xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx] (9000)

; [6] Authenticate sector 1, Block 5 with key at location 0
FF 86 00 00 05 01 00 05 60 00 (9000)

; [7] Store a value "1" into block 5
FF D7 00 05 05 00 00 00 00 01 (9000)

; [8] Read the value block 5
FF B1 00 05 04 [xx xx xx xx] (9000)

; [9] Copy the value from value block 5 to value block 6
FF D7 00 05 02 03 06 (9000)

; [10] Read the value block 6
FF B1 00 06 04 [xx xx xx xx] (9000)

; [11] Increment the value block 5 by "5"
FF D7 00 05 05 01 00 00 00 05 (9000)

; [12] Read the value block 5
FF B1 00 05 04 [xx xx xx xx] (9000)

1 个答案:

答案 0 :(得分:2)

卡片在我看来就像MIFARE Classic 1K。

我认为您在使用身份验证的密钥编号中存在错误。试试这个:

ff 82 00 01 06 FF FF FF FF FF FF  //Set key with on slot 1
ff 88 00 01 60 01                 //Auth with key from slot 1 to block 1 

我希望这会有所帮助。