mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-23 05:24:46 -07:00
ofw pr 4316 MIFARE Plus 2K Cards in SL1 Mode
testing only, for dev branch PR by LuemmelSec https://github.com/flipperdevices/flipperzero-firmware/pull/4316/files TODO: mf_classic_get_total_sectors_num
This commit is contained in:
@@ -59,7 +59,7 @@ NfcCommand nfc_dict_attack_worker_callback(NfcGenericEvent event, void* context)
|
||||
|
||||
mfc_event->data->poller_mode.data = mfc_data;
|
||||
instance->nfc_dict_context.sectors_total =
|
||||
mf_classic_get_total_sectors_num(mfc_data->type);
|
||||
mf_classic_get_scannable_sectors_num(mfc_data->type);
|
||||
mf_classic_get_read_sectors_and_keys(
|
||||
mfc_data,
|
||||
&instance->nfc_dict_context.sectors_read,
|
||||
|
||||
@@ -23,7 +23,7 @@ void nfc_scene_mf_classic_show_keys_on_enter(void* context) {
|
||||
|
||||
furi_string_cat_printf(instance->text_box_store, "\e#Found MFC Keys:");
|
||||
|
||||
uint8_t num_sectors = mf_classic_get_total_sectors_num(mfc_data->type);
|
||||
uint8_t num_sectors = mf_classic_get_scannable_sectors_num(mfc_data->type);
|
||||
uint8_t found_keys_a = 0, found_keys_b = 0;
|
||||
for(uint8_t i = 0; i < num_sectors; i++) {
|
||||
MfClassicSectorTrailer* sec_tr = mf_classic_get_sector_trailer_by_sector(mfc_data, i);
|
||||
|
||||
Reference in New Issue
Block a user