mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
more details of recovery
This commit is contained in:
parent
d42350baff
commit
60b12ca905
1 changed files with 8 additions and 4 deletions
|
@ -5395,11 +5395,15 @@ static int CmdHf14AMfSuperCard(const char *Cmd) {
|
||||||
uint64_t key64 = -1;
|
uint64_t key64 = -1;
|
||||||
res = mfkey32_moebius(&data, &key64);
|
res = mfkey32_moebius(&data, &key64);
|
||||||
|
|
||||||
if (res)
|
if (res) {
|
||||||
PrintAndLogEx(SUCCESS, "recovered key [ " _GREEN_("%12" PRIX64) " ]", key64);
|
PrintAndLogEx(SUCCESS, "UID: %s Sector %02x key %c [ " _GREEN_("%12" PRIX64) " ]"
|
||||||
else
|
, sprint_hex_inrow(outA, 4)
|
||||||
|
, data.sector
|
||||||
|
, (data.keytype == 0x60) ? 'A' : 'B'
|
||||||
|
, key64);
|
||||||
|
} else {
|
||||||
PrintAndLogEx(FAILED, "failed to recover any key");
|
PrintAndLogEx(FAILED, "failed to recover any key");
|
||||||
|
}
|
||||||
return PM3_SUCCESS;
|
return PM3_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue