From db26c85b231cee324a6e3520e5eb199b52991190 Mon Sep 17 00:00:00 2001 From: noproto Date: Fri, 18 Oct 2024 00:46:24 -0400 Subject: [PATCH] Backdoor known key logic still needs the current key --- lib/nfc/protocols/mf_classic/mf_classic_poller.c | 1 + targets/f18/api_symbols.csv | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/nfc/protocols/mf_classic/mf_classic_poller.c b/lib/nfc/protocols/mf_classic/mf_classic_poller.c index 8d3a1ee74..bc502534f 100644 --- a/lib/nfc/protocols/mf_classic/mf_classic_poller.c +++ b/lib/nfc/protocols/mf_classic/mf_classic_poller.c @@ -1833,6 +1833,7 @@ NfcCommand mf_classic_poller_handler_nested_controller(MfClassicPoller* instance } dict_attack_ctx->nested_phase = MfClassicNestedPhaseAnalyzePRNG; } else { + dict_attack_ctx->nested_known_key = dict_attack_ctx->current_key; dict_attack_ctx->nested_known_key_sector = 0; dict_attack_ctx->nested_known_key_type = MfClassicKeyTypeA; dict_attack_ctx->prng_type = MfClassicPrngTypeWeak; diff --git a/targets/f18/api_symbols.csv b/targets/f18/api_symbols.csv index 7943c4cfc..be60c6a1c 100644 --- a/targets/f18/api_symbols.csv +++ b/targets/f18/api_symbols.csv @@ -1,5 +1,5 @@ entry,status,name,type,params -Version,+,77.2,, +Version,+,77.3,, Header,+,applications/services/bt/bt_service/bt.h,, Header,+,applications/services/bt/bt_service/bt_keys_storage.h,, Header,+,applications/services/cli/cli.h,,