mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
Fix bug with iclass legbrute index value being ignored
Fixed issue https://github.com/RfidResearchGroup/proxmark3/issues/2845
This commit is contained in:
parent
a3d7cfcf4a
commit
3c35a87dee
1 changed files with 1 additions and 1 deletions
|
@ -4255,7 +4255,7 @@ static int CmdHFiClassLegRecLookUp(const char *Cmd) {
|
||||||
uint8_t startingKey[PICOPASS_BLOCK_SIZE] = {0};
|
uint8_t startingKey[PICOPASS_BLOCK_SIZE] = {0};
|
||||||
CLIGetHexWithReturn(ctx, 4, startingKey, &startingkey_len);
|
CLIGetHexWithReturn(ctx, 4, startingKey, &startingkey_len);
|
||||||
|
|
||||||
uint64_t index = arg_get_int_def(ctx, 6, 0); //has to be 64 as we're bruteforcing 40 bits
|
uint64_t index = arg_get_int_def(ctx, 5, 0); //has to be 64 as we're bruteforcing 40 bits
|
||||||
index = index * 1000000;
|
index = index * 1000000;
|
||||||
|
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue