@@ -9552,7 +9552,7 @@ static int CmdHF14AMfInfo(const char *Cmd) {
9552
9552
}
9553
9553
9554
9554
if (fKeyType != 0xFF ) {
9555
- PrintAndLogEx (SUCCESS , "Block 0.......... %s" , sprint_hex (blockdata , MFBLOCK_SIZE ));
9555
+ PrintAndLogEx (SUCCESS , "Block 0.......... %s" , sprint_hex_ascii (blockdata , MFBLOCK_SIZE ));
9556
9556
}
9557
9557
9558
9558
PrintAndLogEx (NORMAL , "" );
@@ -9586,7 +9586,7 @@ static int CmdHF14AMfInfo(const char *Cmd) {
9586
9586
PrintAndLogEx (SUCCESS , "NXP MF1ICS5004" );
9587
9587
} else if (fKeyType == MF_KEY_BD08 || fKeyType == MF_KEY_BD08S || fKeyType == MF_KEY_BD32 ) {
9588
9588
PrintAndLogEx (SUCCESS , _RED_ ("Unknown card with backdoor, please report details!" ));
9589
- }
9589
+ } else
9590
9590
// other cards
9591
9591
if (card .sak == 0x08 && memcmp (blockdata + 5 , "\x88\x04\x00\x46" , 4 ) == 0 ) {
9592
9592
PrintAndLogEx (SUCCESS , "NXP MF1ICS5005" );
@@ -9598,6 +9598,8 @@ static int CmdHF14AMfInfo(const char *Cmd) {
9598
9598
PrintAndLogEx (SUCCESS , "NXP MF1ICS5007" );
9599
9599
} else if (card .sak == 0x08 && memcmp (blockdata + 5 , "\x88\x04\x00\xc0" , 4 ) == 0 ) {
9600
9600
PrintAndLogEx (SUCCESS , "NXP MF1ICS5035" );
9601
+ } else {
9602
+ PrintAndLogEx (SUCCESS , "unknown" );
9601
9603
}
9602
9604
9603
9605
if (e_sector [1 ].foundKey [MF_KEY_A ] && (e_sector [1 ].Key [MF_KEY_A ] == 0x2A2C13CC242A )) {
@@ -9627,8 +9629,8 @@ static int CmdHF14AMfInfo(const char *Cmd) {
9627
9629
PrintAndLogEx (SUCCESS , "Static nonce......... " _YELLOW_ ("yes" ));
9628
9630
}
9629
9631
9630
- if (res == NONCE_FAIL && verbose ) {
9631
- PrintAndLogEx (SUCCESS , "Static nonce......... " _RED_ ("read failed" ));
9632
+ if (res == NONCE_FAIL ) {
9633
+ PrintAndLogEx (SUCCESS , "nonce....... ......... " _RED_ ("read failed" ));
9632
9634
}
9633
9635
9634
9636
if (res == NONCE_NORMAL ) {
0 commit comments