mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 02:27:26 -07:00
fix: use correct target
This commit is contained in:
parent
1048bf3d9b
commit
cd6626829c
1 changed files with 1 additions and 1 deletions
|
@ -1241,7 +1241,7 @@ void MifareStaticNested(uint8_t blockNo, uint8_t keyType, uint8_t targetBlockNo,
|
|||
};
|
||||
|
||||
// pre-generate nonces
|
||||
if (keyType == 1 && nt1 == 0x009080A2) {
|
||||
if (targetKeyType == 1 && nt1 == 0x009080A2) {
|
||||
target_nt[0] = prng_successor(nt1, 161);
|
||||
target_nt[1] = prng_successor(nt1, 321);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue