发现一个规律,每次插入电表会吧已用度数,和未用度数写进卡中。但是每次充钱后只有第5行改变,把电表写的数据清空。第5行应该是加密后的总电量。
每次加钱下面几行都会清空,只有第5行会变。。求大神分析第5行怎么加密的。。
求帮忙分析下!
第一次读:明文未知
A2 13 10 91 FF FF 81 15 C1 6B 38 3F 44 3D 3A 41
4C 59 11 11 11 D2 76 00 00 04 00 FF FF FF FF FF
68 01 2B 02 31 31 31 31 31 31 31 31 57 07 00 00
00 00 99 99 99 00 00 00 10 00 00 00 00 00 00 00
00 66 08 00 07 00 C0 EF 6D 3E 50 B5 1B 1B CD 16
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
68 11 08 00 00 00 00 00 00 00 00 00 16 FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
68 81 1E 57 07 00 00 00 00 72 97 46 00 00 29 55
00 45 27 09 00 00 00 00 00 07 00 00 32 00 09 F0
00 D2 16 FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
插电表,第二次读:已用5342.2 剩余281.9
A2 13 10 91 FF FF 81 15 C1 6B 38 3F 44 3D 3A 41
4C 59 11 11 11 D2 76 00 00 04 00 FF FF FF FF FF
68 01 2B 02 31 31 31 31 31 31 31 31 57 07 00 00
00 00 99 99 99 00 00 00 10 00 00 00 00 00 00 00
00 66 08 00 07 00 C0 EF 6D 3E 50 B5 1B 1B CD 16
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
68 11 08 00 00 00 00 00 00 00 00 00 16 FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
68 81 1E 57 07 00 00 00 00 26 43 53 00 00 29 55
00 91 81 02 00 00 00 00 00 07 00 00 32 00 0A F0
00 DF 16 FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
插电表,第三次读:
剩余度数:272.7 已用:5352.4
A2 13 10 91 FF FF 81 15 C1 6B 38 3F 44 3D 3A 41
4C 59 11 11 11 D2 76 00 00 04 00 FF FF FF FF FF
68 01 2B 02 31 31 31 31 31 31 31 31 57 07 00 00
00 00 99 99 99 00 00 00 10 00 00 00 00 00 00 00
00 66 08 00 07 00 C0 EF 6D 3E 50 B5 1B 1B CD 16
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
68 11 08 00 00 00 00 00 00 00 00 00 16 FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
68 81 1E 57 07 00 00 00 00 41 52 53 00 00 29 55
00 76 72 02 00 00 00 00 00 07 00 00 32 00 0A F0
FF DE 16 FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
插卡到电表,第四次读:
剩余 :272.5 已用:5352.6
A2 13 10 91 FF FF 81 15 C1 6B 38 3F 44 3D 3A 41
4C 59 11 11 11 D2 76 00 00 04 00 FF FF FF FF FF
68 01 2B 02 31 31 31 31 31 31 31 31 57 07 00 00
00 00 99 99 99 00 00 00 10 00 00 00 00 00 00 00
00 66 08 00 07 00 C0 EF 6D 3E 50 B5 1B 1B CD 16
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
68 11 08 00 00 00 00 00 00 00 00 00 16 FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
68 81 1E 57 07 00 00 00 00 57 52 53 00 00 29 55
00 60 72 02 00 00 00 00 00 07 00 00 32 00 0A F0
FF DE 16 FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
过一段时间后充值200元后读卡
A2 13 10 91 FF FF 81 15 C1 6B 38 3F 44 3D 3A 41
4C 59 11 11 11 D2 76 00 00 04 00 FF FF FF FF FF
68 01 2B 02 31 31 31 31 31 31 31 31 57 07 00 00
00 00 99 99 99 00 00 00 10 00 00 00 00 00 00 00
00 92 01 00 08 00 40 01 63 A2 B0 9B 95 95 19 16
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
68 11 08 00 00 00 00 00 00 00 00 00 16 FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
插入电表后已用5563.1 剩余 254
然后读卡
A2 13 10 91 FF FF 81 15 C1 6B 38 3F 44 3D 3A 41
4C 59 11 11 11 D2 76 00 00 04 00 FF FF FF FF FF
68 01 2B 02 31 31 31 31 31 31 31 31 57 07 00 00
00 00 99 99 99 00 00 00 10 00 00 00 00 00 00 00
00 92 01 00 08 00 40 01 63 A2 B0 9B 95 95 19 16
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
68 11 08 00 00 00 00 00 00 00 00 00 16 FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
68 81 1E 57 07 00 00 00 00 17 63 55 00 00 21 57
00 00 54 02 00 00 00 00 00 08 00 00 32 00 0A F0
FF 2E 16 FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
过一段时间后,又充值200元后读卡
A2 13 10 91 FF FF 81 15 C1 6B 38 3F 44 3D 3A 41
4C 59 11 11 11 D2 76 00 00 04 00 FF FF FF FF FF
68 01 2B 02 31 31 31 31 31 31 31 31 57 07 00 00
00 00 99 99 99 00 00 00 10 00 00 00 00 00 00 00
00 92 01 00 09 00 40 55 DF CA 70 77 79 79 76 16
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
68 11 08 00 00 00 00 00 00 00 00 00 16 FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
插入电表后显示已用5774.4 剩余234.7
读卡
A2 13 10 91 FF FF 81 15 C1 6B 38 3F 44 3D 3A 41
4C 59 11 11 11 D2 76 00 00 04 00 FF FF FF FF FF
68 01 2B 02 31 31 31 31 31 31 31 31 57 07 00 00
00 00 99 99 99 00 00 00 10 00 00 00 00 00 00 00
00 92 01 00 09 00 40 55 DF CA 70 77 79 79 76 16
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
68 11 08 00 00 00 00 00 00 00 00 00 16 FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
68 81 1E 57 07 00 00 00 00 43 74 57 00 00 13 59
00 74 34 02 00 00 00 00 00 09 00 00 32 00 0B F0
00 B8 16 FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
2016,1月24日。加钱200元,读卡,还没插入电表。
A2 13 10 91 FF FF 81 15 C1 6B 38 3F 44 3D 3A 41
4C 59 11 11 11 D2 76 00 00 04 00 FF FF FF FF FF
68 01 2B 02 31 31 31 31 31 31 31 31 57 07 00 00
00 00 99 99 99 00 00 00 10 00 00 00 00 00 00 00
00 93 01 00 0A 00 40 B1 73 02 B0 2B 05 05 AC 16
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
68 11 08 00 00 00 00 00 00 00 00 00 16 FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
总结:
第一次读卡 已用电+未用电=5625.1
卡第五行数据:00 66 08 00 07 00 C0 EF 6D 3E 50 B5 1B 1B CD 16
充值200后 已用电+未用电=5817.1
卡第五行数据:00 92 01 00 08 00 40 01 63 A2 B0 9B 95 95 19 16
充值200后 已用电+未用电=6009.1
卡的第五行数据:00 92 01 00 08 00 40 01 63 A2 B0 9B 95 95 19 16
scxc 大神帮忙分析了下。第五个数据是次数每次充值+1。。目前还未搞懂。。
[招生]科锐逆向工程师培训(2024年11月15日实地,远程教学同时开班, 第51期)