mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-23 22:55:37 -07:00
uid len details
This commit is contained in:
parent
c851ac7314
commit
0a22fd8f66
1 changed files with 15 additions and 1 deletions
|
@ -7482,7 +7482,21 @@ static int CmdHF14AGen4Info(const char *cmd) {
|
||||||
PrintAndLogEx(INFO, "Raw config [%02d]..... %s", resplen, sprint_hex_inrow(resp, resplen));
|
PrintAndLogEx(INFO, "Raw config [%02d]..... %s", resplen, sprint_hex_inrow(resp, resplen));
|
||||||
|
|
||||||
PrintAndLogEx(INFO, "UL protocol......... %02x", resp[0]);
|
PrintAndLogEx(INFO, "UL protocol......... %02x", resp[0]);
|
||||||
PrintAndLogEx(INFO, "UID length.......... %02x", resp[1]);
|
PrintAndLogEx(INFO, "UID length.......... %02x" NOLF, resp[1]);
|
||||||
|
switch (resp[1]){
|
||||||
|
case 0x01:
|
||||||
|
PrintAndLogEx(NORMAL, " (4 byte)");
|
||||||
|
break;
|
||||||
|
case 0x01:
|
||||||
|
PrintAndLogEx(NORMAL, " (7 byte)");
|
||||||
|
break;
|
||||||
|
case 0x02:
|
||||||
|
PrintAndLogEx(NORMAL, " (10 byte)");
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
PrintAndLogEx(NORMAL, " (unknown %02x)", resp[1]);
|
||||||
|
break;
|
||||||
|
}
|
||||||
PrintAndLogEx(INFO, "Password............ %s", sprint_hex_inrow(&resp[2], 4));
|
PrintAndLogEx(INFO, "Password............ %s", sprint_hex_inrow(&resp[2], 4));
|
||||||
PrintAndLogEx(INFO, "GTU mode............ %02x", resp[6]);
|
PrintAndLogEx(INFO, "GTU mode............ %02x", resp[6]);
|
||||||
PrintAndLogEx(INFO, "ATS [%02d]............ %s", resp[7], sprint_hex_inrow(&resp[8], resp[7]));
|
PrintAndLogEx(INFO, "ATS [%02d]............ %s", resp[7], sprint_hex_inrow(&resp[8], resp[7]));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue