mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-04-01 18:09:59 +08:00
chg: colors
This commit is contained in:
parent
bd26794c20
commit
ae4e3b72af
2 changed files with 4 additions and 4 deletions
client
|
@ -579,11 +579,11 @@ int CmdHF14AInfo(const char *Cmd) {
|
|||
if (isMifareClassic) {
|
||||
int res = detect_classic_prng();
|
||||
if ( res == 1 )
|
||||
PrintAndLogEx(SUCCESS, "Prng detection: WEAK");
|
||||
PrintAndLogEx(SUCCESS, "Prng detection: " _GREEN_(WEAK));
|
||||
else if (res == 0 )
|
||||
PrintAndLogEx(SUCCESS, "Prng detection: HARD");
|
||||
PrintAndLogEx(SUCCESS, "Prng detection: " _YELLOW_(HARD));
|
||||
else
|
||||
PrintAndLogEx(FAILED, "prng detection: failed");
|
||||
PrintAndLogEx(FAILED, "prng detection: " _RED_(failed));
|
||||
|
||||
if ( do_nack_test )
|
||||
detect_classic_nackbug(silent);
|
||||
|
|
|
@ -686,7 +686,7 @@ bool DecodeMifareData(uint8_t *cmd, uint8_t cmdsize, uint8_t *parity, bool isRes
|
|||
PrintAndLogEx(NORMAL, " | | * |%49s %012"PRIx64" prng %s | |",
|
||||
"key",
|
||||
mfLastKey,
|
||||
validate_prng_nonce(AuthData.nt) ? "WEAK": "HARD");
|
||||
validate_prng_nonce(AuthData.nt) ? _GREEN_(WEAK): _YELLOW_(HARD));
|
||||
|
||||
AuthData.first_auth = false;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue