]> git.zerfleddert.de Git - proxmark3-svn/blob - client/lualibs/mf_default_keys.lua
CHG: added some more token-tags.
[proxmark3-svn] / client / lualibs / mf_default_keys.lua
1
2
3 local _keys = {
4
5 --[[
6
7 These keys are from the pm3 c-codebase.
8
9 --]]
10 'ffffffffffff', -- Default key (first key used by program if no user defined key)
11 '000000000000', -- Blank key
12 'a0a1a2a3a4a5', -- NFCForum MAD key
13 'b0b1b2b3b4b5',
14 'aabbccddeeff',
15 '4d3a99c351dd',
16 '1a982c7e459a',
17 'd3f7d3f7d3f7',
18 '714c5c886e97',
19 '587ee5f9350f',
20 'a0478cc39091',
21 '533cb6c723f6',
22 '8fd0a4f256e9',
23
24
25 --[[
26 The data below is taken form the Slurp project,
27 https://github.com/4ZM/slurp/blob/master/res/xml/mifare_default_keys.xml
28 released as GPLV3.
29
30 --]]
31
32 '000000000000', -- Default key
33 'ffffffffffff', -- Default key
34 'b0b1b2b3b4b5', -- Key from mfoc
35 '4d3a99c351dd', -- Key from mfoc
36 '1a982c7e459a', -- Key from mfoc
37 'aabbccddeeff', -- Key from mfoc
38 '714c5c886e97', -- Key from mfoc
39 '587ee5f9350f', -- Key from mfoc
40 'a0478cc39091', -- Key from mfoc
41 '533cb6c723f6', -- Key from mfoc
42 '8fd0a4f256e9', -- Key from mfoc
43 -- Data from: http://pastebin.com/wcTHXLZZ
44 'a64598a77478', -- RKF SL Key A
45 '26940b21ff5d', -- RKF SL Key A
46 'fc00018778f7', -- RKF SL Key A
47 '00000ffe2488', -- RKF SL Key B
48 '5c598c9c58b5', -- RKF SL Key B
49 'e4d2770a89be', -- RKF SL Key B
50 -- Data from: http://pastebin.com/svGjN30Q
51 '434f4d4d4f41', -- RKF JOJO GROUP Key A
52 '434f4d4d4f42', -- RKF JOJO GROUP Key B
53 '47524f555041', -- RKF JOJO GROUP Key A
54 '47524f555042', -- RKF JOJO GROUP Key B
55 '505249564141', -- RKF JOJO PRIVA Key A
56 '505249564142', -- RKF JOJO PRIVA Key B
57 -- Data from: http://pastebin.com/d7sSetef
58 'fc00018778f7', -- RKF Rejskort Danmark Key A
59 '00000ffe2488', -- RKF Rejskort Danmark Key B
60 '0297927c0f77', -- RKF Rejskort Danmark Key A
61 'ee0042f88840', -- RKF Rejskort Danmark Key B
62 '722bfcc5375f', -- RKF Rejskort Danmark Key A
63 'f1d83f964314', -- RKF Rejskort Danmark Key B
64 -- Data from: http://pastebin.com/pvJX0xVS
65 '54726176656C', -- Transport Key A
66 '776974687573', -- Transport Key B
67 '4AF9D7ADEBE4', -- Directory and event log Key A
68 '2BA9621E0A36', -- Directory and event log Key B
69 -- Data from: http://pastebin.com/Dnnc5dFC
70 -- New cards are not encrypted (MF Ultralight)
71 'fc00018778f7', -- Västtrafiken Key A
72 '00000ffe2488', -- Västtrafiken Key B
73 '0297927c0f77', -- Västtrafiken Key A
74 'ee0042f88840', -- Västtrafiken Key B
75 '54726176656c', -- Västtrafiken Key A
76 '776974687573', -- Västtrafiken Key B
77 -- Data from: http://pastebin.com/y3PDBWR1
78 '000000000001',
79 'a0a1a2a3a4a5',
80 '123456789abc',
81 'b127c6f41436',
82 '12f2ee3478c1',
83 '34d1df9934c5',
84 '55f5a5dd38c9',
85 'f1a97341a9fc',
86 '33f974b42769',
87 '14d446e33363',
88 'c934fe34d934',
89 '1999a3554a55',
90 '27dd91f1fcf1',
91 'a94133013401',
92 '99c636334433',
93 '43ab19ef5c31',
94 'a053a292a4af',
95 '434f4d4d4f41',
96 '434f4d4d4f42',
97 '505249565441',
98 '505249565442',
99 -- Data from,:, http://pastebin.com/TUXj17K3
100 'fc0001877bf7', -- RKF ÖstgötaTrafiken Key A
101 '00000ffe2488', -- RKF ÖstgötaTrafiken Key B
102 '0297927c0f77', -- RKF ÖstgötaTrafiken Key A
103 'ee0042f88840', -- RKF ÖstgötaTrafiken Key B
104 '54726176656c', -- RKF ÖstgötaTrafiken Key A
105 '776974687573', -- RKF ÖstgötaTrafiken Key B
106
107 --[[
108 The keys below are taken from from https://code.google.com/p/mifare-key-cracker/downloads/list
109 --]]
110
111 'bd493a3962b6',
112 '010203040506',
113 '111111111111',
114 '222222222222',
115 '333333333333',
116 '444444444444',
117 '555555555555',
118 '666666666666',
119 '777777777777',
120 '888888888888',
121 '999999999999',
122 'aaaaaaaaaaaa',
123 'bbbbbbbbbbbb',
124 'cccccccccccc',
125 'dddddddddddd',
126 'eeeeeeeeeeee',
127 '0123456789ab',
128 '123456789abc',
129
130 --[[
131 The keys below are taken from from https://github.com/4ZM/mfterm/blob/master/dictionary.txt
132 --]]
133
134 'abcdef123456', -- Key from ladyada.net
135
136 '000000000001',
137 '000000000002',
138 '00000000000a',
139 '00000000000b',
140 '100000000000',
141 '200000000000',
142 'a00000000000',
143 'b00000000000',
144
145 --[[
146 Should be for Mifare TNP3xxx tags A KEY.
147 --]]
148 '4b0b20107ccb',
149
150 --[[
151 Kiev metro cards
152 --]]
153 '8fe644038790',
154 'f14ee7cae863',
155 '632193be1c3c',
156 '569369c5a0e5',
157 '9de89e070277',
158 'eff603e1efe9',
159 '644672bd4afe',
160
161 'b5ff67cba951',
162 }
163
164 --[[
165 Kiev metro cards
166 --]]
167 '8fe644038790',
168 'f14ee7cae863',
169 '632193be1c3c',
170 '569369c5a0e5',
171 '9de89e070277',
172 'eff603e1efe9',
173 '644672bd4afe',
174
175 'b5ff67cba951',
176 }
177
178 ---
179 -- The keys above have just been pasted in, for completeness sake. They contain duplicates.
180 -- We need to weed the duplicates out before we expose the list to someone who actually wants to use them
181 -- @param list a list to do 'uniq' on
182
183 local function uniq(list)
184
185 local foobar = {}
186 --print("list length ", #list)
187 for _, value in pairs(list) do
188 value = value:lower()
189 if not foobar[value] then
190 foobar[value] = true
191 table.insert(foobar, value);
192 end
193 end
194 --print("final list length length ", #foobar)
195 return foobar
196 end
197
198 return uniq(_keys)
Impressum, Datenschutz