mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-22 06:13:51 -07:00
add a key
This commit is contained in:
parent
b5f323672f
commit
2acbd67900
2 changed files with 6 additions and 1 deletions
|
@ -1383,7 +1383,11 @@ static int CmdHF14aDesDetect(const char *Cmd) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (verbose) {
|
if (verbose) {
|
||||||
PrintAndLogEx(INFO, "Check keys: DES: %s 2TDEA: %s 3TDEA: %s AES: %s",
|
if (appid == 0)
|
||||||
|
PrintAndLogEx(INFO, "Check PICC key num: %d (0x%02x)", dctx.keyNum, dctx.keyNum);
|
||||||
|
else
|
||||||
|
PrintAndLogEx(INFO, "Check app: %06x key num: %d (0x%02x)", appid, dctx.keyNum, dctx.keyNum);
|
||||||
|
PrintAndLogEx(INFO, "keys: DES: %s 2TDEA: %s 3TDEA: %s AES: %s",
|
||||||
keytypes[T_DES] ? _GREEN_("YES") : _RED_("NO"),
|
keytypes[T_DES] ? _GREEN_("YES") : _RED_("NO"),
|
||||||
keytypes[T_3DES] ? _GREEN_("YES") : _RED_("NO"),
|
keytypes[T_3DES] ? _GREEN_("YES") : _RED_("NO"),
|
||||||
keytypes[T_3K3DES] ? _GREEN_("YES") : _RED_("NO"),
|
keytypes[T_3K3DES] ? _GREEN_("YES") : _RED_("NO"),
|
||||||
|
|
|
@ -35,6 +35,7 @@ const char *g_mifare_plus_default_keys[] = {
|
||||||
"0102030405060708090a0b0c0d0e0f10",
|
"0102030405060708090a0b0c0d0e0f10",
|
||||||
"00010203040506070809101112131415",
|
"00010203040506070809101112131415",
|
||||||
"01020304050607080910111213141516",
|
"01020304050607080910111213141516",
|
||||||
|
"00112233445566778899aabbccddeeff",
|
||||||
"404142434445464748494a4b4c4d4e4f",
|
"404142434445464748494a4b4c4d4e4f",
|
||||||
"303132333435363738393a3b3c3d3e3f",
|
"303132333435363738393a3b3c3d3e3f",
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue