small visual fixes

This commit is contained in:
merlokk 2019-03-04 19:25:13 +02:00
parent 2c07bb790c
commit f45c330843
2 changed files with 3 additions and 2 deletions

View file

@ -725,7 +725,7 @@ int CmdHFMFPMAD(const char *cmd) {
}
for(int j = 0; j < (verbose ? 4 : 3); j ++)
PrintAndLogEx(NORMAL, "---[%03d] %s", (i + 1) * 4 + j, sprint_hex(&vsector[j * 16], 16));
PrintAndLogEx(NORMAL, " [%03d] %s", (i + 1) * 4 + j, sprint_hex(&vsector[j * 16], 16));
}
}
}

View file

@ -302,7 +302,8 @@ int MifareAuth4(mf4Session *session, uint8_t *keyn, uint8_t *key, bool activateF
memmove(session->Kmac, kmac, 16);
}
PrintAndLogEx(INFO, "Authentication OK");
if (verbose)
PrintAndLogEx(INFO, "Authentication OK");
return 0;
}