mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
CHG: 'hf mfdes info' : Now checks for 7b uid's. This will remove some faulty claims of tagidentifications.
This commit is contained in:
parent
179748a5df
commit
0c2c6f3fd7
2 changed files with 20 additions and 6 deletions
|
@ -145,7 +145,15 @@ int CmdHF14ADesInfo(const char *Cmd){
|
|||
}
|
||||
uint8_t isOK = resp.arg[0] & 0xff;
|
||||
if ( !isOK ){
|
||||
PrintAndLog("Command unsuccessful");
|
||||
switch ( resp.arg[1] ) {
|
||||
case 1:
|
||||
PrintAndLog("Can't select card"); break;
|
||||
case 2:
|
||||
PrintAndLog("Card is most likely not Desfire. Its UID has wrong size"); break;
|
||||
case 3:
|
||||
default:
|
||||
PrintAndLog("Command unsuccessful"); break;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
PrintAndLog("");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue