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