make Ev1 keys stick out and with an explaination making it a bit more clear for user

This commit is contained in:
iceman1001 2024-04-05 00:37:02 +02:00
commit 39984c400a

View file

@ -4244,11 +4244,17 @@ void printKeyTableEx(size_t sectorscnt, sector_t *e_sector, uint8_t start_sector
s = i; s = i;
} }
PrintAndLogEx(SUCCESS, " " _YELLOW_("%03d") " | %03d | %s | %s | %s | %s" char extra[24] = {0x00};
if (sectorscnt == 18 && i > 15) {
strcat(extra, "( " _MAGENTA_("*") " )");
}
PrintAndLogEx(SUCCESS, " " _YELLOW_("%03d") " | %03d | %s | %s | %s | %s %s"
, s , s
, mfSectorTrailerOfSector(s) , mfSectorTrailerOfSector(s)
, strA, resA , strA, resA
, strB, resB , strB, resB
, extra
); );
} }
@ -4267,6 +4273,10 @@ void printKeyTableEx(size_t sectorscnt, sector_t *e_sector, uint8_t start_sector
_YELLOW_("A") ":keyA " _YELLOW_("A") ":keyA "
" )" " )"
); );
if (sectorscnt == 18) {
PrintAndLogEx(INFO, "( " _MAGENTA_("*") " ) These sectors used for signature. Lays outside of user memory");
}
} else { } else {
PrintAndLogEx(SUCCESS, "( " _RED_("0") ":Failed / " _GREEN_("1") ":Success )"); PrintAndLogEx(SUCCESS, "( " _RED_("0") ":Failed / " _GREEN_("1") ":Success )");
} }