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,12 +4244,18 @@ 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};
, s if (sectorscnt == 18 && i > 15) {
, mfSectorTrailerOfSector(s) strcat(extra, "( " _MAGENTA_("*") " )");
, strA, resA }
, strB, resB
); PrintAndLogEx(SUCCESS, " " _YELLOW_("%03d") " | %03d | %s | %s | %s | %s %s"
, s
, mfSectorTrailerOfSector(s)
, strA, resA
, 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 )");
} }