From 05820ee736325e76a57efb060ef52f9bfb62b9ce Mon Sep 17 00:00:00 2001 From: pwpiwi Date: Thu, 13 Feb 2020 20:01:05 +0100 Subject: [PATCH] minor fix, CHANGELOG update --- CHANGELOG.md | 1 + client/mifare/mifarehost.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fdd499fe..67b1d537 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ This project uses the changelog in accordance with [keepchangelog](http://keepac - `hf mf chk t` save to emulator memory now works as expected (mwalker) - Fix `hf mf sim` - wrong access rights to write key B in trailer (@McEloff) - allow files > 512Bytes in 'hf iclass eload' (@Sherhannn79) +- `hf mf nested` now works with fixed nonce tags too (uzlonewolf, piwi) ### Added - Added to `hf 14a apdu` print apdu and compose apdu (@merlokk) diff --git a/client/mifare/mifarehost.c b/client/mifare/mifarehost.c index 666bdd52..a9fbaac7 100644 --- a/client/mifare/mifarehost.c +++ b/client/mifare/mifarehost.c @@ -542,7 +542,7 @@ int mfnested(uint8_t blockNo, uint8_t keyType, uint16_t timeout14a, uint8_t *key if (statelists[0].nt == statelists[1].nt && statelists[0].ks1 == statelists[1].ks1) { num_unique_nonces = 1; memcpy(&fixed_nt, resp.d.asBytes + 24, 4); - PrintAndLog("Fixed nt detected: %08" PRIx32, fixed_nt); + PrintAndLog("Fixed nt detected: %08" PRIx32 " on first authentication, %08" PRIx32 " on nested authentication", fixed_nt, statelists[0].nt); } else { num_unique_nonces = 2; }