mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-20 13:23:25 -07:00
fix appearance
This commit is contained in:
parent
7b215d149a
commit
28ee794f59
2 changed files with 7 additions and 5 deletions
|
@ -268,15 +268,15 @@ bool DecodeMifareData(uint8_t *cmd, uint8_t cmdsize, bool isResponse, uint8_t *m
|
|||
crypto1_get_lfsr(revstate, &lfsr);
|
||||
crypto1_destroy(revstate);
|
||||
// LastKey = lfsr;
|
||||
printf("uid:%x nt:%x ar_enc:%x at_enc:%x\n", AuthData.uid, AuthData.nt, AuthData.ar_enc, AuthData.at_enc);
|
||||
printf("AUTH: probable key:%x%x Prng:%s ks2:%08x ks3:%08x\n",
|
||||
PrintAndLog(" | * | key | probable key:%x%x Prng:%s ks2:%08x ks3:%08x | |",
|
||||
(unsigned int)((lfsr & 0xFFFFFFFF00000000) >> 32), (unsigned int)(lfsr & 0xFFFFFFFF),
|
||||
validate_prng_nonce(AuthData.nt) ? "WEAK": "HARDEND",
|
||||
validate_prng_nonce(AuthData.nt) ? "WEAK": "HARD",
|
||||
ks2,
|
||||
ks3);
|
||||
|
||||
AuthData.first_auth = false;
|
||||
} else {
|
||||
printf("uid:%x nt:%x ar_enc:%x at_enc:%x\n", AuthData.uid, AuthData.nt, AuthData.ar_enc, AuthData.at_enc);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue