mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
style
This commit is contained in:
parent
d15eef80af
commit
da81c6806b
1 changed files with 7 additions and 9 deletions
|
@ -1672,14 +1672,12 @@ void DesfireCheckAuthCommands(DesfireISOSelectWay way, uint32_t appID, char *dfn
|
||||||
}
|
}
|
||||||
|
|
||||||
void DesfireCheckAuthCommandsPrint(AuthCommandsChk_t *authCmdCheck) {
|
void DesfireCheckAuthCommandsPrint(AuthCommandsChk_t *authCmdCheck) {
|
||||||
PrintAndLogEx(NORMAL, "auth: %s auth iso: %s auth aes: %s auth ev2: %s auth iso native: %s auth lrp: %s",
|
PrintAndLogEx(SUCCESS, " Auth.............. %s", authCmdCheck->auth ? _GREEN_("YES") : _RED_("NO"));
|
||||||
authCmdCheck->auth ? _GREEN_("YES") : _RED_("NO"),
|
PrintAndLogEx(SUCCESS, " Auth ISO.......... %s", authCmdCheck->authISO ? _GREEN_("YES") : _RED_("NO"));
|
||||||
authCmdCheck->authISO ? _GREEN_("YES") : _RED_("NO"),
|
PrintAndLogEx(SUCCESS, " Auth AES.......... %s", authCmdCheck->authAES ? _GREEN_("YES") : _RED_("NO"));
|
||||||
authCmdCheck->authAES ? _GREEN_("YES") : _RED_("NO"),
|
PrintAndLogEx(SUCCESS, " Auth Ev2.......... %s", authCmdCheck->authEV2 ? _GREEN_("YES") : _RED_("NO"));
|
||||||
authCmdCheck->authEV2 ? _GREEN_("YES") : _RED_("NO"),
|
PrintAndLogEx(SUCCESS, " Auth ISO Native... %s", authCmdCheck->authISONative ? _GREEN_("YES") : _RED_("NO"));
|
||||||
authCmdCheck->authISONative ? _GREEN_("YES") : _RED_("NO"),
|
PrintAndLogEx(SUCCESS, " Auth LRP.......... %s", authCmdCheck->authLRP ? _GREEN_("YES") : _RED_("NO"));
|
||||||
authCmdCheck->authLRP ? _GREEN_("YES") : _RED_("NO")
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int DesfireFillPICCInfo(DesfireContext_t *dctx, PICCInfo_t *PICCInfo, bool deepmode) {
|
int DesfireFillPICCInfo(DesfireContext_t *dctx, PICCInfo_t *PICCInfo, bool deepmode) {
|
||||||
|
@ -1808,7 +1806,7 @@ void DesfirePrintPICCInfo(DesfireContext_t *dctx, PICCInfo_t *PICCInfo) {
|
||||||
else
|
else
|
||||||
PrintAndLogEx(SUCCESS, "Applications count: " _GREEN_("%zu") " free memory " _GREEN_("%d") " bytes", PICCInfo->appCount, PICCInfo->freemem);
|
PrintAndLogEx(SUCCESS, "Applications count: " _GREEN_("%zu") " free memory " _GREEN_("%d") " bytes", PICCInfo->appCount, PICCInfo->freemem);
|
||||||
if (PICCInfo->authCmdCheck.checked) {
|
if (PICCInfo->authCmdCheck.checked) {
|
||||||
PrintAndLogEx(SUCCESS, "PICC level auth commands: " NOLF);
|
PrintAndLogEx(SUCCESS, "PICC level auth commands: ");
|
||||||
DesfireCheckAuthCommandsPrint(&PICCInfo->authCmdCheck);
|
DesfireCheckAuthCommandsPrint(&PICCInfo->authCmdCheck);
|
||||||
}
|
}
|
||||||
if (PICCInfo->numberOfKeys > 0) {
|
if (PICCInfo->numberOfKeys > 0) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue