Merge pull request #452 from Fl0-0/fix-for-#450

Fix for hf mf autopwn #db# AcquireNonces: Auth1 error loop, revert co…
This commit is contained in:
Philippe Teuwen 2019-11-04 22:29:08 +01:00 committed by GitHub
commit 8cff4a24bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1967,7 +1967,7 @@ static int CmdHF14AMfAutoPWN(const char *Cmd) {
// Store valid credentials for the nested / hardnested attack if none exist
if (know_target_key == false) {
num_to_bytes(e_sector[i].Key[j], 6, tmp_key);
num_to_bytes(e_sector[i].Key[j], 6, key);
know_target_key = true;
blockNo = i;
keyType = j;