mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-02 02:53:09 +08:00
hf mf cview
This commit is contained in:
parent
62d734dbfc
commit
63b92a3782
1 changed files with 4 additions and 2 deletions
|
@ -4341,8 +4341,10 @@ static int CmdHF14AMfCView(const char *Cmd) {
|
||||||
PrintAndLogEx(INFO, "----+-------------------------------------------------+-----------------");
|
PrintAndLogEx(INFO, "----+-------------------------------------------------+-----------------");
|
||||||
for (uint16_t i = 0; i < numblocks; i++){
|
for (uint16_t i = 0; i < numblocks; i++){
|
||||||
|
|
||||||
if (mfIsSectorTrailer(blockNo)) {
|
if (i == 0) {
|
||||||
PrintAndLogEx(INFO, "%03d | " _YELLOW_("%s")", i, sprint_hex_ascii(dump + (i * 16) , 16) );
|
PrintAndLogEx(INFO, "%03d | " _RED_("%s"), i, sprint_hex_ascii(dump + (i * 16) , 16) );
|
||||||
|
} else if (mfIsSectorTrailer(i)) {
|
||||||
|
PrintAndLogEx(INFO, "%03d | " _YELLOW_("%s"), i, sprint_hex_ascii(dump + (i * 16) , 16) );
|
||||||
} else {
|
} else {
|
||||||
PrintAndLogEx(INFO, "%03d | %s ", i, sprint_hex_ascii(dump + (i * 16) , 16) );
|
PrintAndLogEx(INFO, "%03d | %s ", i, sprint_hex_ascii(dump + (i * 16) , 16) );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue