mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 02:27:26 -07:00
add mfp default keys
This commit is contained in:
parent
13c16e9af7
commit
8cb28a21c6
2 changed files with 42 additions and 0 deletions
39
client/mifare/mifaredefault.c
Normal file
39
client/mifare/mifaredefault.c
Normal file
|
@ -0,0 +1,39 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// Copyright (C) 2017 Merlok
|
||||
//
|
||||
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
||||
// at your option, any later version. See the LICENSE.txt file for the text of
|
||||
// the license.
|
||||
//-----------------------------------------------------------------------------
|
||||
// Mifare default constants
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#include "mifaredefault.h"
|
||||
#include "commonutil.h" // ARRAYLEN
|
||||
|
||||
const char* g_mifare_plus_default_keys[] = {
|
||||
"ffffffffffffffffffffffffffffffff", // default key
|
||||
"00000000000000000000000000000000",
|
||||
"a0a1a2a3a4a5a6a7a0a1a2a3a4a5a6a7", // MAD key
|
||||
"b0b1b2b3b4b5b6b7b0b1b2b3b4b5b6b7",
|
||||
"d3f7d3f7d3f7d3f7d3f7d3f7d3f7d3f7", // NDEF key
|
||||
"11111111111111111111111111111111",
|
||||
"22222222222222222222222222222222",
|
||||
"33333333333333333333333333333333",
|
||||
"44444444444444444444444444444444",
|
||||
"55555555555555555555555555555555",
|
||||
"66666666666666666666666666666666",
|
||||
"77777777777777777777777777777777",
|
||||
"88888888888888888888888888888888",
|
||||
"99999999999999999999999999999999",
|
||||
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
||||
"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
||||
"cccccccccccccccccccccccccccccccc",
|
||||
"dddddddddddddddddddddddddddddddd",
|
||||
"eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
||||
"000102030405060708090a0b0c0d0e0f",
|
||||
"0102030405060708090a0b0c0d0e0f10",
|
||||
"00010203040506070809101112131415",
|
||||
"01020304050607080910111213141516"
|
||||
};
|
||||
size_t g_mifare_plus_default_keys_len = ARRAYLEN(g_mifare_plus_default_keys);
|
|
@ -44,4 +44,7 @@ static const uint8_t g_mifare_ndef_key[] = {0xd3, 0xf7, 0xd3, 0xf7, 0xd3, 0xf7};
|
|||
static const uint8_t g_mifarep_mad_key[] = {0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7, 0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7};
|
||||
static const uint8_t g_mifarep_ndef_key[] = {0xd3, 0xf7, 0xd3, 0xf7, 0xd3, 0xf7, 0xd3, 0xf7, 0xd3, 0xf7, 0xd3, 0xf7, 0xd3, 0xf7, 0xd3, 0xf7};
|
||||
|
||||
extern const char* g_mifare_plus_default_keys[];
|
||||
extern size_t g_mifare_plus_default_keys_len;
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue