FMT changes

This commit is contained in:
RogueMaster
2022-12-22 12:19:11 -05:00
parent 64016ad6b8
commit e8ffe6d78a
3 changed files with 8 additions and 4 deletions
@@ -213,7 +213,8 @@ bool desktop_scene_main_on_event(void* context, SceneManagerEvent event) {
break;
}
case DesktopMainEventOpen2048: {
desktop_scene_main_open_app_or_profile(desktop, EXT_PATH("/apps/Games/2048_improved.fap"));
desktop_scene_main_open_app_or_profile(
desktop, EXT_PATH("/apps/Games/2048_improved.fap"));
break;
}
case DesktopMainEventOpenZombiez: {
+4 -2
View File
@@ -1023,7 +1023,8 @@ void nfc_worker_mf_classic_dict_attack(NfcWorker* nfc_worker) {
(uint32_t)key);
if(!is_key_a_found) {
is_key_a_found = mf_classic_is_key_found(data, i, MfClassicKeyA);
if(mf_classic_authenticate_skip_activate(&tx_rx, block_num, key, MfClassicKeyA, !deactivated, cuid)) {
if(mf_classic_authenticate_skip_activate(
&tx_rx, block_num, key, MfClassicKeyA, !deactivated, cuid)) {
mf_classic_set_key_found(data, i, MfClassicKeyA, key);
FURI_LOG_D(TAG, "Key found");
nfc_worker->callback(NfcWorkerEventFoundKeyA, nfc_worker->context);
@@ -1035,7 +1036,8 @@ void nfc_worker_mf_classic_dict_attack(NfcWorker* nfc_worker) {
}
if(!is_key_b_found) {
is_key_b_found = mf_classic_is_key_found(data, i, MfClassicKeyB);
if(mf_classic_authenticate_skip_activate(&tx_rx, block_num, key, MfClassicKeyB, !deactivated, cuid)) {
if(mf_classic_authenticate_skip_activate(
&tx_rx, block_num, key, MfClassicKeyB, !deactivated, cuid)) {
FURI_LOG_D(TAG, "Key found");
mf_classic_set_key_found(data, i, MfClassicKeyB, key);
nfc_worker->callback(NfcWorkerEventFoundKeyB, nfc_worker->context);
+2 -1
View File
@@ -480,7 +480,8 @@ bool mf_classic_authenticate_skip_activate(
furi_assert(tx_rx);
Crypto1 crypto = {};
bool key_found = mf_classic_auth(tx_rx, block_num, key, key_type, &crypto, skip_activate, cuid);
bool key_found =
mf_classic_auth(tx_rx, block_num, key, key_type, &crypto, skip_activate, cuid);
furi_hal_nfc_sleep();
return key_found;
}