mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-20 03:48:33 +08:00
fix: 'hf mf keybrute' - adapt to NG for checkkeys. Kind of out-of-datem, since hardnested solves this better.
This commit is contained in:
parent
2dea3684ae
commit
6cddaa0a08
1 changed files with 3 additions and 3 deletions
|
@ -220,9 +220,9 @@ int mfCheckKeys_fast(uint8_t sectorsCnt, uint8_t firstChunk, uint8_t lastChunk,
|
|||
// ref: https://github.com/J-Run/mf_key_brute
|
||||
int mfKeyBrute(uint8_t blockNo, uint8_t keyType, uint8_t *key, uint64_t *resultkey) {
|
||||
|
||||
#define KEYS_IN_BLOCK 84
|
||||
#define KEYBLOCK_SIZE 510
|
||||
#define CANDIDATE_SIZE 0xFFFF * 6
|
||||
#define KEYS_IN_BLOCK ((USB_CMD_DATA_SIZE - 4) / 6)
|
||||
#define KEYBLOCK_SIZE (KEYS_IN_BLOCK * 6)
|
||||
#define CANDIDATE_SIZE (0xFFFF * 6)
|
||||
|
||||
uint64_t key64;
|
||||
uint8_t found = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue