Backdoor known key logic still needs the current key

This commit is contained in:
noproto
2024-10-18 00:46:24 -04:00
parent 897817a829
commit db26c85b23
2 changed files with 2 additions and 1 deletions

View File

@@ -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;