@@ -3646,7 +3646,7 @@ static int CmdHF14AMfSmartBrute(const char *Cmd) {
3646
3646
3647
3647
PrintAndLogEx (INFO , "Current cracking speed (keys/s): %lu" ,
3648
3648
keys_checked / ((msclock () - t1 ) / 1000 )
3649
- );
3649
+ );
3650
3650
3651
3651
t1 = msclock ();
3652
3652
keys_checked = 0 ;
@@ -7881,8 +7881,8 @@ static int parse_gtu_cfg(uint8_t *d, size_t n) {
7881
7881
PrintAndLogEx (INFO , _CYAN_ ("Config 2 - ATS" ));
7882
7882
PrintAndLogEx (INFO , "%s" , sprint_hex_inrow (d + 8 , 16 ));
7883
7883
if (atslen <= 16 ) {
7884
- PrintAndLogEx (INFO , "%s.............. ATS ( %d bytes )" , sprint_hex_inrow (& d [8 ], d [7 ]), d [7 ]);
7885
- PrintAndLogEx (INFO , "..................%s Reserved for ATS" , sprint_hex_inrow (d + 8 + d [7 ], 16 - d [7 ]));
7884
+ PrintAndLogEx (INFO , "%s.............. ATS ( %d bytes )" , sprint_hex_inrow (& d [8 ], d [7 ]), d [7 ]);
7885
+ PrintAndLogEx (INFO , "..................%s Reserved for ATS" , sprint_hex_inrow (d + 8 + d [7 ], 16 - d [7 ]));
7886
7886
} else {
7887
7887
PrintAndLogEx (INFO , "%s.............. %u Reserved for ATS" , sprint_hex_inrow (& d [8 ], 16 ), 16 );
7888
7888
}
@@ -9631,20 +9631,20 @@ static int CmdHF14AMfInfo(const char *Cmd) {
9631
9631
} else if (fKeyType == MF_KEY_BD08 || fKeyType == MF_KEY_BD08S || fKeyType == MF_KEY_BD32 ) {
9632
9632
PrintAndLogEx (SUCCESS , _RED_ ("Unknown card with backdoor, please report details!" ));
9633
9633
} else
9634
- // other cards
9635
- if (card .sak == 0x08 && memcmp (blockdata + 5 , "\x88\x04\x00\x46" , 4 ) == 0 ) {
9636
- PrintAndLogEx (SUCCESS , "NXP MF1ICS5005" );
9637
- } else if (card .sak == 0x08 && memcmp (blockdata + 5 , "\x88\x04\x00\x47" , 4 ) == 0 ) {
9638
- PrintAndLogEx (SUCCESS , "NXP MF1ICS5006" );
9639
- } else if (card .sak == 0x09 && memcmp (blockdata + 5 , "\x89\x04\x00\x47" , 4 ) == 0 ) {
9640
- PrintAndLogEx (SUCCESS , "NXP MF1ICS2006" );
9641
- } else if (card .sak == 0x08 && memcmp (blockdata + 5 , "\x88\x04\x00\x48" , 4 ) == 0 ) {
9642
- PrintAndLogEx (SUCCESS , "NXP MF1ICS5007" );
9643
- } else if (card .sak == 0x08 && memcmp (blockdata + 5 , "\x88\x04\x00\xc0" , 4 ) == 0 ) {
9644
- PrintAndLogEx (SUCCESS , "NXP MF1ICS5035" );
9645
- } else {
9646
- PrintAndLogEx (SUCCESS , "unknown" );
9647
- }
9634
+ // other cards
9635
+ if (card .sak == 0x08 && memcmp (blockdata + 5 , "\x88\x04\x00\x46" , 4 ) == 0 ) {
9636
+ PrintAndLogEx (SUCCESS , "NXP MF1ICS5005" );
9637
+ } else if (card .sak == 0x08 && memcmp (blockdata + 5 , "\x88\x04\x00\x47" , 4 ) == 0 ) {
9638
+ PrintAndLogEx (SUCCESS , "NXP MF1ICS5006" );
9639
+ } else if (card .sak == 0x09 && memcmp (blockdata + 5 , "\x89\x04\x00\x47" , 4 ) == 0 ) {
9640
+ PrintAndLogEx (SUCCESS , "NXP MF1ICS2006" );
9641
+ } else if (card .sak == 0x08 && memcmp (blockdata + 5 , "\x88\x04\x00\x48" , 4 ) == 0 ) {
9642
+ PrintAndLogEx (SUCCESS , "NXP MF1ICS5007" );
9643
+ } else if (card .sak == 0x08 && memcmp (blockdata + 5 , "\x88\x04\x00\xc0" , 4 ) == 0 ) {
9644
+ PrintAndLogEx (SUCCESS , "NXP MF1ICS5035" );
9645
+ } else {
9646
+ PrintAndLogEx (SUCCESS , "unknown" );
9647
+ }
9648
9648
9649
9649
if (e_sector [1 ].foundKey [MF_KEY_A ] && (e_sector [1 ].Key [MF_KEY_A ] == 0x2A2C13CC242A )) {
9650
9650
PrintAndLogEx (SUCCESS , "Dorma Kaba SAFLOK detected" );
0 commit comments