卡的智能秘钥头.txt
1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// 写卡片主控秘钥 MF_DCCK kid 00MF_DCCK "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
sendcmd("80D4 01 00 15 F9F0F0AA66 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" );
// 写卡片维护秘钥 MF_DCMK1 kid 00
// sendcmd("80D4 01 00 15 F6F0AAFF33 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF");
//Internal Auth KEY 内部密钥
sendcmd("80D4 01 01 15 F0F0F00100 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF");
sendcmd("80D4 01 02 15 F0F0F00200 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF");
sendcmd("80D4 01 03 15 F0F0F00300 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF");
//维护密钥
sendcmd("80D4 01 00 15 F6F0F0FF33 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF4");
sendcmd("80D4 01 01 15 F6F0F0FF33 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF");
sendcmd("00A4 0400 08 B5D8C0FBD4DACFDF");
//创建 0001的秘钥文件SF 文件标识为0000
sendcmd("80E0 00FF 07 3F 0200 95FAFFFF");
//主控密钥 /应用主控密钥 控制E F。DF的创建.
sendcmd("80D4 01 00 15 F9F0AAAA33 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF6");
sendcmd("80D4 01 00 15 F6F0AAFF33 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8");
sendcmd("80D4 01 01 15 F6F0AAFF33 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF");
// 外部认证密钥
sendcmd("80D4 01 01 15 F9F0F0EE33 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7");
//-------目录2---------------------
sendcmd("00A4 0400 08 B5D8C0FBC7AEB0FC");
sendcmd("80E0 00FF 07 3F 0200 95 FA FFFF");
//创建密钥文件
//应用主控子密钥
sendcmd("80D4 01 00 15 F9F0AAAA33 88888888888888888888888888888888");
创建目录:80E0DF0310382710AAAA95FFFFB5D8C0FBD4DACFDF