mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
chg: 'hf iclass loclass t' - now uses loadfile_safe. However the iclass_key.bin and iclass_dump.bin must be in the new folder structure
This commit is contained in:
parent
d3124d7f4b
commit
f3a63767ed
3 changed files with 34 additions and 55 deletions
|
@ -1662,7 +1662,7 @@ static int CmdHFiClass_loclass(const char *Cmd) {
|
|||
errors += doKeyTests(0);
|
||||
errors += testElite();
|
||||
if (errors) PrintAndLogEx(ERR, "There were errors!!!");
|
||||
return errors;
|
||||
return PM3_ESOFT;
|
||||
}
|
||||
return PM3_SUCCESS;
|
||||
}
|
||||
|
@ -1971,7 +1971,7 @@ static int CmdHFiClassManageKeys(const char *Cmd) {
|
|||
case 'n':
|
||||
keyNbr = param_get8(Cmd, cmdp + 1);
|
||||
if (keyNbr >= ICLASS_KEYS_MAX) {
|
||||
PrintAndLogEx(ERR, "Invalid block number, MAX is "_YELLOW_("%d"), ICLASS_KEYS_MAX);
|
||||
PrintAndLogEx(ERR, "Invalid block number, MAX is " _YELLOW_("%d"), ICLASS_KEYS_MAX);
|
||||
errors = true;
|
||||
}
|
||||
cmdp += 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue