]>
Commit | Line | Data |
---|---|---|
16b04cb2 | 1 | |
2 | local _keys = { | |
16b04cb2 | 3 | --[[ |
4 | ||
5 | These keys are from the pm3 c-codebase. | |
6 | ||
7 | --]] | |
9f7a854d | 8 | 'ffffffffffff', -- Default key (first key used by program if no user defined key) |
16b04cb2 | 9 | '000000000000', -- Blank key |
10 | 'a0a1a2a3a4a5', -- NFCForum MAD key | |
11 | 'b0b1b2b3b4b5', | |
12 | 'aabbccddeeff', | |
13 | '4d3a99c351dd', | |
14 | '1a982c7e459a', | |
15 | 'd3f7d3f7d3f7', | |
16 | '714c5c886e97', | |
17 | '587ee5f9350f', | |
18 | 'a0478cc39091', | |
19 | '533cb6c723f6', | |
20 | '8fd0a4f256e9', | |
21 | ||
22 | ||
23 | --[[ | |
24 | The data below is taken form the Slurp project, | |
25 | https://github.com/4ZM/slurp/blob/master/res/xml/mifare_default_keys.xml | |
26 | released as GPLV3. | |
27 | ||
28 | --]] | |
29 | ||
30 | '000000000000', -- Default key | |
9f7a854d | 31 | 'ffffffffffff', -- Default key |
16b04cb2 | 32 | 'b0b1b2b3b4b5', -- Key from mfoc |
33 | '4d3a99c351dd', -- Key from mfoc | |
34 | '1a982c7e459a', -- Key from mfoc | |
35 | 'aabbccddeeff', -- Key from mfoc | |
36 | '714c5c886e97', -- Key from mfoc | |
37 | '587ee5f9350f', -- Key from mfoc | |
38 | 'a0478cc39091', -- Key from mfoc | |
39 | '533cb6c723f6', -- Key from mfoc | |
40 | '8fd0a4f256e9', -- Key from mfoc | |
41 | -- Data from: http://pastebin.com/wcTHXLZZ | |
42 | 'a64598a77478', -- RKF SL Key A | |
43 | '26940b21ff5d', -- RKF SL Key A | |
44 | 'fc00018778f7', -- RKF SL Key A | |
45 | '00000ffe2488', -- RKF SL Key B | |
46 | '5c598c9c58b5', -- RKF SL Key B | |
47 | 'e4d2770a89be', -- RKF SL Key B | |
48 | -- Data from: http://pastebin.com/svGjN30Q | |
49 | '434f4d4d4f41', -- RKF JOJO GROUP Key A | |
50 | '434f4d4d4f42', -- RKF JOJO GROUP Key B | |
51 | '47524f555041', -- RKF JOJO GROUP Key A | |
52 | '47524f555042', -- RKF JOJO GROUP Key B | |
53 | '505249564141', -- RKF JOJO PRIVA Key A | |
54 | '505249564142', -- RKF JOJO PRIVA Key B | |
55 | -- Data from: http://pastebin.com/d7sSetef | |
56 | 'fc00018778f7', -- RKF Rejskort Danmark Key A | |
57 | '00000ffe2488', -- RKF Rejskort Danmark Key B | |
58 | '0297927c0f77', -- RKF Rejskort Danmark Key A | |
59 | 'ee0042f88840', -- RKF Rejskort Danmark Key B | |
60 | '722bfcc5375f', -- RKF Rejskort Danmark Key A | |
61 | 'f1d83f964314', -- RKF Rejskort Danmark Key B | |
62 | -- Data from: http://pastebin.com/pvJX0xVS | |
63 | '54726176656C', -- Transport Key A | |
64 | '776974687573', -- Transport Key B | |
65 | '4AF9D7ADEBE4', -- Directory and event log Key A | |
66 | '2BA9621E0A36', -- Directory and event log Key B | |
f218d50e | 67 | -- Data from: http://pastebin.com/AK9Bftpw |
68 | '48ffe71294a0', -- Länstrafiken i Västerbotten | |
69 | 'e3429281efc1', -- Länstrafiken i Västerbotten | |
70 | '16f21a82ec84', -- Länstrafiken i Västerbotten | |
71 | '460722122510', -- Länstrafiken i Västerbotten | |
16b04cb2 | 72 | -- Data from: http://pastebin.com/Dnnc5dFC |
73 | -- New cards are not encrypted (MF Ultralight) | |
74 | 'fc00018778f7', -- Västtrafiken Key A | |
75 | '00000ffe2488', -- Västtrafiken Key B | |
76 | '0297927c0f77', -- Västtrafiken Key A | |
77 | 'ee0042f88840', -- Västtrafiken Key B | |
78 | '54726176656c', -- Västtrafiken Key A | |
79 | '776974687573', -- Västtrafiken Key B | |
80 | -- Data from: http://pastebin.com/y3PDBWR1 | |
81 | '000000000001', | |
82 | 'a0a1a2a3a4a5', | |
83 | '123456789abc', | |
84 | 'b127c6f41436', | |
85 | '12f2ee3478c1', | |
86 | '34d1df9934c5', | |
87 | '55f5a5dd38c9', | |
88 | 'f1a97341a9fc', | |
89 | '33f974b42769', | |
90 | '14d446e33363', | |
91 | 'c934fe34d934', | |
92 | '1999a3554a55', | |
93 | '27dd91f1fcf1', | |
94 | 'a94133013401', | |
95 | '99c636334433', | |
96 | '43ab19ef5c31', | |
97 | 'a053a292a4af', | |
98 | '434f4d4d4f41', | |
99 | '434f4d4d4f42', | |
100 | '505249565441', | |
101 | '505249565442', | |
102 | -- Data from,:, http://pastebin.com/TUXj17K3 | |
103 | 'fc0001877bf7', -- RKF ÖstgötaTrafiken Key A | |
104 | '00000ffe2488', -- RKF ÖstgötaTrafiken Key B | |
105 | '0297927c0f77', -- RKF ÖstgötaTrafiken Key A | |
106 | 'ee0042f88840', -- RKF ÖstgötaTrafiken Key B | |
107 | '54726176656c', -- RKF ÖstgötaTrafiken Key A | |
108 | '776974687573', -- RKF ÖstgötaTrafiken Key B | |
109 | ||
110 | --[[ | |
111 | The keys below are taken from from https://code.google.com/p/mifare-key-cracker/downloads/list | |
112 | --]] | |
113 | ||
114 | 'bd493a3962b6', | |
115 | '010203040506', | |
116 | '111111111111', | |
117 | '222222222222', | |
118 | '333333333333', | |
119 | '444444444444', | |
120 | '555555555555', | |
121 | '666666666666', | |
122 | '777777777777', | |
123 | '888888888888', | |
124 | '999999999999', | |
125 | 'aaaaaaaaaaaa', | |
126 | 'bbbbbbbbbbbb', | |
127 | 'cccccccccccc', | |
128 | 'dddddddddddd', | |
129 | 'eeeeeeeeeeee', | |
130 | '0123456789ab', | |
131 | '123456789abc', | |
fdefed66 MHS |
132 | |
133 | --[[ | |
134 | The keys below are taken from from https://github.com/4ZM/mfterm/blob/master/dictionary.txt | |
135 | --]] | |
136 | ||
137 | 'abcdef123456', -- Key from ladyada.net | |
138 | ||
139 | '000000000001', | |
140 | '000000000002', | |
141 | '00000000000a', | |
142 | '00000000000b', | |
143 | '100000000000', | |
144 | '200000000000', | |
145 | 'a00000000000', | |
146 | 'b00000000000', | |
c15d2bdc | 147 | |
148 | --[[ | |
f218d50e | 149 | Should be for Mifare TNP3xxx tags key A |
c15d2bdc | 150 | --]] |
151 | '4b0b20107ccb', | |
152 | ||
95e63594 | 153 | --[[ |
154 | Kiev metro cards | |
155 | --]] | |
156 | '8fe644038790', | |
157 | 'f14ee7cae863', | |
158 | '632193be1c3c', | |
159 | '569369c5a0e5', | |
160 | '9de89e070277', | |
161 | 'eff603e1efe9', | |
162 | '644672bd4afe', | |
95e63594 | 163 | 'b5ff67cba951', |
984f9571 | 164 | |
165 | --[[ | |
166 | hotel system cards, | |
167 | http://www.proxmark.org/forum/viewtopic.php?id=2430 | |
168 | --]] | |
169 | '44ab09010845', | |
170 | '85fed980ea5a', | |
0ad970fb | 171 | |
172 | --[[ | |
173 | VIGIK1 | |
174 | --]] | |
175 | '314B49474956', | |
176 | '564c505f4d41', | |
3fd842ed | 177 | |
178 | --[[ | |
179 | BCARD keyB | |
180 | --]] | |
181 | 'f4a9ef2afc6d', | |
70ee301e | 182 | |
183 | --[[ | |
184 | --]] | |
185 | 'a9f953def0a3', | |
e98572a1 | 186 | |
187 | --[[ | |
188 | mystery Key A and B for Mifare 1k EV1 (S50) Sector 17! | |
189 | --]] | |
190 | '75ccb59c9bed', | |
191 | '4b791bea7bcc', | |
b87f99f4 | 192 | |
193 | --[[ | |
194 | Here be BIP keys... | |
195 | ref: http://pastebin.com/QjUc66Zg | |
196 | --]] | |
197 | '3A42F33AF429', | |
198 | '1FC235AC1309', | |
199 | '6338A371C0ED', | |
200 | '243F160918D1', | |
201 | 'F124C2578AD0', | |
202 | '9AFC42372AF1', | |
203 | '32AC3B90AC13', | |
204 | '682D401ABB09', | |
205 | '4AD1E273EAF1', | |
206 | '067DB45454A9', | |
207 | 'E2C42591368A', | |
208 | '15FC4C7613FE', | |
209 | '2A3C347A1200', | |
210 | '68D30288910A', | |
211 | '16F3D5AB1139', | |
212 | 'F59A36A2546D', | |
213 | '937A4FFF3011', | |
214 | '64E3C10394C2', | |
215 | '35C3D2CAEE88', | |
216 | 'B736412614AF', | |
217 | '693143F10368', | |
218 | '324F5DF65310', | |
219 | 'A3F97428DD01', | |
220 | '643FB6DE2217', | |
221 | '63F17A449AF0', | |
222 | '82F435DEDF01', | |
223 | 'C4652C54261C', | |
224 | '0263DE1278F3', | |
225 | 'D49E2826664F', | |
226 | '51284C3686A6', | |
227 | '3DF14C8000A1', | |
228 | '6A470D54127C', | |
c15d2bdc | 229 | } |
16b04cb2 | 230 | |
9f7a854d | 231 | --- |
232 | -- The keys above have just been pasted in, for completeness sake. They contain duplicates. | |
233 | -- We need to weed the duplicates out before we expose the list to someone who actually wants to use them | |
234 | -- @param list a list to do 'uniq' on | |
16b04cb2 | 235 | |
236 | local function uniq(list) | |
237 | ||
238 | local foobar = {} | |
239 | --print("list length ", #list) | |
240 | for _, value in pairs(list) do | |
241 | value = value:lower() | |
242 | if not foobar[value] then | |
243 | foobar[value] = true | |
244 | table.insert(foobar, value); | |
245 | end | |
246 | end | |
247 | --print("final list length length ", #foobar) | |
248 | return foobar | |
249 | end | |
250 | ||
fdefed66 | 251 | return uniq(_keys) |