mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 13:00:42 -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
|
// pre-generate nonces
|
||||||
if (keyType == 1 && nt1 == 0x009080A2) {
|
if (targetKeyType == 1 && nt1 == 0x009080A2) {
|
||||||
target_nt[0] = prng_successor(nt1, 161);
|
target_nt[0] = prng_successor(nt1, 161);
|
||||||
target_nt[1] = prng_successor(nt1, 321);
|
target_nt[1] = prng_successor(nt1, 321);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue