2013-06-07 17:26:56 +08:00
|
|
|
|
|
|
|
local _keys = {
|
|
|
|
--[[
|
|
|
|
These keys are from the pm3 c-codebase.
|
|
|
|
--]]
|
2013-06-08 02:58:06 +08:00
|
|
|
'ffffffffffff', -- Default key (first key used by program if no user defined key)
|
2013-06-07 17:26:56 +08:00
|
|
|
'000000000000', -- Blank key
|
|
|
|
'a0a1a2a3a4a5', -- NFCForum MAD key
|
|
|
|
'b0b1b2b3b4b5',
|
|
|
|
'aabbccddeeff',
|
|
|
|
'4d3a99c351dd',
|
|
|
|
'1a982c7e459a',
|
|
|
|
'd3f7d3f7d3f7',
|
|
|
|
'714c5c886e97',
|
|
|
|
'587ee5f9350f',
|
|
|
|
'a0478cc39091',
|
|
|
|
'533cb6c723f6',
|
|
|
|
'8fd0a4f256e9',
|
|
|
|
|
|
|
|
--[[
|
2016-04-10 01:45:28 +08:00
|
|
|
The Slurp project,
|
|
|
|
Data from: https://github.com/4ZM/slurp/blob/master/res/xml/mifare_default_keys.xml
|
2013-06-07 17:26:56 +08:00
|
|
|
--]]
|
|
|
|
'000000000000', -- Default key
|
2013-06-08 02:58:06 +08:00
|
|
|
'ffffffffffff', -- Default key
|
2013-06-07 17:26:56 +08:00
|
|
|
'b0b1b2b3b4b5', -- Key from mfoc
|
|
|
|
'4d3a99c351dd', -- Key from mfoc
|
|
|
|
'1a982c7e459a', -- Key from mfoc
|
|
|
|
'aabbccddeeff', -- Key from mfoc
|
|
|
|
'714c5c886e97', -- Key from mfoc
|
|
|
|
'587ee5f9350f', -- Key from mfoc
|
|
|
|
'a0478cc39091', -- Key from mfoc
|
|
|
|
'533cb6c723f6', -- Key from mfoc
|
|
|
|
'8fd0a4f256e9', -- Key from mfoc
|
2016-04-10 01:45:28 +08:00
|
|
|
|
|
|
|
--[[
|
|
|
|
Data from: http://pastebin.com/wcTHXLZZ
|
|
|
|
--]]
|
2013-06-07 17:26:56 +08:00
|
|
|
'a64598a77478', -- RKF SL Key A
|
|
|
|
'26940b21ff5d', -- RKF SL Key A
|
|
|
|
'fc00018778f7', -- RKF SL Key A
|
|
|
|
'00000ffe2488', -- RKF SL Key B
|
|
|
|
'5c598c9c58b5', -- RKF SL Key B
|
|
|
|
'e4d2770a89be', -- RKF SL Key B
|
2016-04-10 01:45:28 +08:00
|
|
|
|
|
|
|
--[[
|
|
|
|
Data from: http://pastebin.com/svGjN30Q
|
|
|
|
--]]
|
2013-06-07 17:26:56 +08:00
|
|
|
'434f4d4d4f41', -- RKF JOJO GROUP Key A
|
|
|
|
'434f4d4d4f42', -- RKF JOJO GROUP Key B
|
|
|
|
'47524f555041', -- RKF JOJO GROUP Key A
|
|
|
|
'47524f555042', -- RKF JOJO GROUP Key B
|
|
|
|
'505249564141', -- RKF JOJO PRIVA Key A
|
|
|
|
'505249564142', -- RKF JOJO PRIVA Key B
|
2016-04-10 01:45:28 +08:00
|
|
|
|
|
|
|
--[[
|
|
|
|
Data from: http://pastebin.com/d7sSetef
|
|
|
|
--]]
|
2013-06-07 17:26:56 +08:00
|
|
|
'fc00018778f7', -- RKF Rejskort Danmark Key A
|
|
|
|
'00000ffe2488', -- RKF Rejskort Danmark Key B
|
|
|
|
'0297927c0f77', -- RKF Rejskort Danmark Key A
|
|
|
|
'ee0042f88840', -- RKF Rejskort Danmark Key B
|
|
|
|
'722bfcc5375f', -- RKF Rejskort Danmark Key A
|
|
|
|
'f1d83f964314', -- RKF Rejskort Danmark Key B
|
2016-04-10 01:45:28 +08:00
|
|
|
|
|
|
|
--[[
|
|
|
|
Data from: http://pastebin.com/pvJX0xVS
|
|
|
|
--]]
|
2013-06-07 17:26:56 +08:00
|
|
|
'54726176656C', -- Transport Key A
|
|
|
|
'776974687573', -- Transport Key B
|
|
|
|
'4AF9D7ADEBE4', -- Directory and event log Key A
|
|
|
|
'2BA9621E0A36', -- Directory and event log Key B
|
2016-04-10 01:45:28 +08:00
|
|
|
|
|
|
|
--[[
|
|
|
|
Data from: http://pastebin.com/AK9Bftpw
|
|
|
|
--]]
|
2015-10-30 16:05:22 +08:00
|
|
|
'48ffe71294a0', -- Länstrafiken i Västerbotten
|
|
|
|
'e3429281efc1', -- Länstrafiken i Västerbotten
|
|
|
|
'16f21a82ec84', -- Länstrafiken i Västerbotten
|
|
|
|
'460722122510', -- Länstrafiken i Västerbotten
|
2016-04-10 01:45:28 +08:00
|
|
|
|
|
|
|
--[[
|
|
|
|
Data from: http://pastebin.com/Dnnc5dFC
|
|
|
|
--]]
|
2013-06-07 17:26:56 +08:00
|
|
|
'fc00018778f7', -- Västtrafiken Key A
|
|
|
|
'00000ffe2488', -- Västtrafiken Key B
|
|
|
|
'0297927c0f77', -- Västtrafiken Key A
|
|
|
|
'ee0042f88840', -- Västtrafiken Key B
|
|
|
|
'54726176656c', -- Västtrafiken Key A
|
|
|
|
'776974687573', -- Västtrafiken Key B
|
2016-04-10 01:45:28 +08:00
|
|
|
|
|
|
|
--[[
|
|
|
|
Data from: http://pastebin.com/y3PDBWR1
|
|
|
|
--]]
|
2013-06-07 17:26:56 +08:00
|
|
|
'000000000001',
|
|
|
|
'a0a1a2a3a4a5',
|
|
|
|
'123456789abc',
|
|
|
|
'b127c6f41436',
|
|
|
|
'12f2ee3478c1',
|
|
|
|
'34d1df9934c5',
|
|
|
|
'55f5a5dd38c9',
|
|
|
|
'f1a97341a9fc',
|
|
|
|
'33f974b42769',
|
|
|
|
'14d446e33363',
|
|
|
|
'c934fe34d934',
|
|
|
|
'1999a3554a55',
|
|
|
|
'27dd91f1fcf1',
|
|
|
|
'a94133013401',
|
|
|
|
'99c636334433',
|
|
|
|
'43ab19ef5c31',
|
|
|
|
'a053a292a4af',
|
|
|
|
'434f4d4d4f41',
|
|
|
|
'434f4d4d4f42',
|
|
|
|
'505249565441',
|
|
|
|
'505249565442',
|
2016-04-10 01:45:28 +08:00
|
|
|
|
|
|
|
--[[
|
|
|
|
Data from: http://pastebin.com/TUXj17K3
|
|
|
|
--]]
|
2013-06-07 17:26:56 +08:00
|
|
|
'fc0001877bf7', -- RKF ÖstgötaTrafiken Key A
|
|
|
|
'00000ffe2488', -- RKF ÖstgötaTrafiken Key B
|
|
|
|
'0297927c0f77', -- RKF ÖstgötaTrafiken Key A
|
|
|
|
'ee0042f88840', -- RKF ÖstgötaTrafiken Key B
|
|
|
|
'54726176656c', -- RKF ÖstgötaTrafiken Key A
|
|
|
|
'776974687573', -- RKF ÖstgötaTrafiken Key B
|
|
|
|
|
|
|
|
--[[
|
2016-04-10 01:45:28 +08:00
|
|
|
Data from: https://code.google.com/p/mifare-key-cracker/downloads/list
|
2013-06-07 17:26:56 +08:00
|
|
|
--]]
|
|
|
|
'bd493a3962b6',
|
|
|
|
'010203040506',
|
|
|
|
'111111111111',
|
|
|
|
'222222222222',
|
|
|
|
'333333333333',
|
|
|
|
'444444444444',
|
|
|
|
'555555555555',
|
|
|
|
'666666666666',
|
|
|
|
'777777777777',
|
|
|
|
'888888888888',
|
|
|
|
'999999999999',
|
|
|
|
'aaaaaaaaaaaa',
|
|
|
|
'bbbbbbbbbbbb',
|
|
|
|
'cccccccccccc',
|
|
|
|
'dddddddddddd',
|
|
|
|
'eeeeeeeeeeee',
|
|
|
|
'0123456789ab',
|
|
|
|
'123456789abc',
|
2014-08-29 15:11:36 +08:00
|
|
|
|
|
|
|
--[[
|
2016-04-10 01:45:28 +08:00
|
|
|
Data from: https://github.com/4ZM/mfterm/blob/master/dictionary.txt
|
2014-08-29 15:11:36 +08:00
|
|
|
--]]
|
|
|
|
'abcdef123456', -- Key from ladyada.net
|
|
|
|
'000000000001',
|
|
|
|
'000000000002',
|
|
|
|
'00000000000a',
|
|
|
|
'00000000000b',
|
|
|
|
'100000000000',
|
|
|
|
'200000000000',
|
|
|
|
'a00000000000',
|
|
|
|
'b00000000000',
|
2014-11-03 20:49:19 +08:00
|
|
|
|
|
|
|
--[[
|
2016-04-10 01:45:28 +08:00
|
|
|
Mifare TNP3xxx tags key A
|
2014-11-03 20:49:19 +08:00
|
|
|
--]]
|
|
|
|
'4b0b20107ccb',
|
|
|
|
|
2014-11-26 20:52:39 +08:00
|
|
|
--[[
|
|
|
|
Kiev metro cards
|
|
|
|
--]]
|
|
|
|
'8fe644038790',
|
|
|
|
'f14ee7cae863',
|
|
|
|
'632193be1c3c',
|
|
|
|
'569369c5a0e5',
|
|
|
|
'9de89e070277',
|
|
|
|
'eff603e1efe9',
|
|
|
|
'644672bd4afe',
|
|
|
|
'b5ff67cba951',
|
2015-04-27 00:05:06 +08:00
|
|
|
|
|
|
|
--[[
|
|
|
|
hotel system cards,
|
|
|
|
http://www.proxmark.org/forum/viewtopic.php?id=2430
|
|
|
|
--]]
|
|
|
|
'44ab09010845',
|
|
|
|
'85fed980ea5a',
|
2015-05-12 01:37:44 +08:00
|
|
|
|
|
|
|
--[[
|
|
|
|
VIGIK1
|
|
|
|
--]]
|
|
|
|
'314B49474956',
|
|
|
|
'564c505f4d41',
|
2015-05-13 01:50:47 +08:00
|
|
|
|
|
|
|
--[[
|
|
|
|
BCARD keyB
|
|
|
|
--]]
|
|
|
|
'f4a9ef2afc6d',
|
2015-05-13 15:05:21 +08:00
|
|
|
|
|
|
|
--[[
|
|
|
|
--]]
|
|
|
|
'a9f953def0a3',
|
2015-10-08 05:00:46 +08:00
|
|
|
|
|
|
|
--[[
|
|
|
|
mystery Key A and B for Mifare 1k EV1 (S50) Sector 17!
|
|
|
|
--]]
|
|
|
|
'75ccb59c9bed',
|
|
|
|
'4b791bea7bcc',
|
2015-10-20 04:41:53 +08:00
|
|
|
|
|
|
|
--[[
|
2016-04-10 01:45:28 +08:00
|
|
|
Here be BIP keys
|
|
|
|
Data from: http://pastebin.com/QjUc66Zg
|
2015-10-20 04:41:53 +08:00
|
|
|
--]]
|
|
|
|
'3A42F33AF429',
|
|
|
|
'1FC235AC1309',
|
|
|
|
'6338A371C0ED',
|
|
|
|
'243F160918D1',
|
|
|
|
'F124C2578AD0',
|
|
|
|
'9AFC42372AF1',
|
|
|
|
'32AC3B90AC13',
|
|
|
|
'682D401ABB09',
|
|
|
|
'4AD1E273EAF1',
|
|
|
|
'067DB45454A9',
|
|
|
|
'E2C42591368A',
|
|
|
|
'15FC4C7613FE',
|
|
|
|
'2A3C347A1200',
|
|
|
|
'68D30288910A',
|
|
|
|
'16F3D5AB1139',
|
|
|
|
'F59A36A2546D',
|
|
|
|
'937A4FFF3011',
|
|
|
|
'64E3C10394C2',
|
|
|
|
'35C3D2CAEE88',
|
|
|
|
'B736412614AF',
|
|
|
|
'693143F10368',
|
|
|
|
'324F5DF65310',
|
|
|
|
'A3F97428DD01',
|
|
|
|
'643FB6DE2217',
|
|
|
|
'63F17A449AF0',
|
|
|
|
'82F435DEDF01',
|
|
|
|
'C4652C54261C',
|
|
|
|
'0263DE1278F3',
|
|
|
|
'D49E2826664F',
|
|
|
|
'51284C3686A6',
|
|
|
|
'3DF14C8000A1',
|
|
|
|
'6A470D54127C',
|
2015-12-06 05:18:42 +08:00
|
|
|
|
|
|
|
--[[
|
|
|
|
3dprinter
|
|
|
|
EPI Envisionte
|
|
|
|
--]]
|
|
|
|
'AAFB06045877',
|
2016-01-19 06:28:34 +08:00
|
|
|
|
|
|
|
--[[
|
|
|
|
Fysiken
|
|
|
|
--]]
|
|
|
|
'3E65E4FB65B3',
|
|
|
|
'25094DF6F148',
|
2016-04-10 01:45:28 +08:00
|
|
|
|
2016-04-05 09:34:46 +08:00
|
|
|
--[[
|
|
|
|
key A
|
|
|
|
--]]
|
|
|
|
'454841585443',
|
2016-04-10 01:45:28 +08:00
|
|
|
|
|
|
|
--[[
|
|
|
|
Data from: http://pastebin.com/gQ6nk38G
|
|
|
|
--]]
|
|
|
|
'A0A1A2A3A4A5',
|
|
|
|
'D39BB83F5297',
|
|
|
|
'A27D3804C259',
|
|
|
|
'85675B200017',
|
|
|
|
'528C9DFFE28C',
|
|
|
|
'C82EC29E3235',
|
|
|
|
'3E3554AF0E12',
|
|
|
|
'491CDCFB7752',
|
|
|
|
'22C1BAE1AACD',
|
|
|
|
'5F146716E373',
|
|
|
|
'740E9A4F9AAF',
|
|
|
|
'AC0E24C75527',
|
|
|
|
'97184D136233',
|
|
|
|
'E444D53D359F',
|
|
|
|
'17758856B182',
|
|
|
|
'A8966C7CC54B',
|
|
|
|
'C6AD00254562',
|
|
|
|
'AE3FF4EEA0DB',
|
|
|
|
'5EB8F884C8D1',
|
|
|
|
'FEE470A4CB58',
|
|
|
|
'75D8690F21B6',
|
|
|
|
'871B8C085997',
|
|
|
|
'97D1101F18B0',
|
|
|
|
'75EDE6A84460',
|
|
|
|
'DF27A8F1CB8E',
|
|
|
|
'B0C9DD55DD4D',
|
|
|
|
|
|
|
|
--[[
|
|
|
|
Data from: http://pastebin.com/AK9Bftpw
|
|
|
|
--]]
|
|
|
|
'48ffe71294a0',
|
|
|
|
'e3429281efc1',
|
|
|
|
'16f21a82ec84',
|
|
|
|
'460722122510',
|
|
|
|
|
|
|
|
--[[
|
|
|
|
Data from: http://bit.ly/1bdSbJl
|
|
|
|
--]]
|
|
|
|
'A0B0C0D0E0F0',
|
|
|
|
'A1B1C1D1E1F1',
|
|
|
|
|
|
|
|
--[[
|
|
|
|
Data from: msk three
|
|
|
|
Thanks to A.
|
|
|
|
--]]
|
|
|
|
'ae3d65a3dad4',
|
|
|
|
'a73f5dc1d333',
|
|
|
|
'73068F118C13',
|
|
|
|
|
2016-04-05 09:34:46 +08:00
|
|
|
--[[
|
2016-04-10 01:45:28 +08:00
|
|
|
Data from: msk social
|
|
|
|
Thanks to A.
|
2016-04-05 09:34:46 +08:00
|
|
|
--]]
|
2016-04-10 01:45:28 +08:00
|
|
|
'a0a1a2a3a4a5',
|
|
|
|
'2735fc181807',
|
|
|
|
'2aba9519f574',
|
|
|
|
'84fd7f7a12b6',
|
|
|
|
'73068f118c13',
|
|
|
|
'186d8c4b93f9',
|
|
|
|
'3a4bba8adaf0',
|
|
|
|
'8765b17968a2',
|
|
|
|
'40ead80721ce',
|
|
|
|
'0db5e6523f7c',
|
|
|
|
'51119dae5216',
|
|
|
|
'83e3549ce42d',
|
|
|
|
'136bdb246cac',
|
|
|
|
'7de02a7f6025',
|
|
|
|
'bf23a53c1f63',
|
|
|
|
'cb9a1f2d7368',
|
|
|
|
'c7c0adb3284f',
|
|
|
|
'2b7f3253fac5',
|
|
|
|
'9f131d8c2057',
|
|
|
|
'67362d90f973',
|
|
|
|
'6202a38f69e2',
|
|
|
|
'100533b89331',
|
|
|
|
'653a87594079',
|
|
|
|
'd8a274b2e026',
|
|
|
|
'b20b83cb145c',
|
|
|
|
'9afa6cb4fc3d',
|
2016-09-21 05:20:27 +08:00
|
|
|
--[[
|
|
|
|
Data from: http://pastebin.com/RRJUEDCM
|
|
|
|
|
|
|
|
--]]
|
|
|
|
'0d258fe90296',
|
|
|
|
'e55a3ca71826',
|
|
|
|
'a4f204203f56',
|
|
|
|
'eeb420209d0c',
|
|
|
|
'911e52fd7ce4',
|
|
|
|
'752fbb5b7b45',
|
|
|
|
'66b03aca6ee9',
|
|
|
|
'48734389edc3',
|
|
|
|
'17193709adf4',
|
|
|
|
'1acc3189578c',
|
|
|
|
'c2b7ec7d4eb1',
|
|
|
|
'369a4663acd2',
|
2014-11-03 20:49:19 +08:00
|
|
|
}
|
2013-06-07 17:26:56 +08:00
|
|
|
|
2013-06-08 02:58:06 +08:00
|
|
|
---
|
|
|
|
-- The keys above have just been pasted in, for completeness sake. They contain duplicates.
|
|
|
|
-- We need to weed the duplicates out before we expose the list to someone who actually wants to use them
|
|
|
|
-- @param list a list to do 'uniq' on
|
2013-06-07 17:26:56 +08:00
|
|
|
|
|
|
|
local function uniq(list)
|
|
|
|
|
|
|
|
local foobar = {}
|
|
|
|
--print("list length ", #list)
|
|
|
|
for _, value in pairs(list) do
|
|
|
|
value = value:lower()
|
|
|
|
if not foobar[value] then
|
|
|
|
foobar[value] = true
|
|
|
|
table.insert(foobar, value);
|
|
|
|
end
|
|
|
|
end
|
|
|
|
--print("final list length length ", #foobar)
|
|
|
|
return foobar
|
|
|
|
end
|
|
|
|
|
2014-08-29 15:11:36 +08:00
|
|
|
return uniq(_keys)
|