Minor hf iclass configcard fixes
Fixed error messaging that was swapped between card key and keyroll key
This commit is contained in:
1 parent
a6c2535e88
commit
480b632528
1 file changed
+2
-2
@@ -5044,7 +5044,7 @@ static int CmdHFiClassConfigCard(const char *Cmd) {
|
||||
memcpy(card_key, iClass_Key_Table[card_kidx], 8);
|
||||
PrintAndLogEx(SUCCESS, "Using card key[%d] " _GREEN_("%s"), card_kidx, sprint_hex(iClass_Key_Table[card_kidx], 8));
|
||||
} else {
|
||||
PrintAndLogEx(ERR, "--krki number is invalid");
|
||||
PrintAndLogEx(ERR, "--ki number is invalid");
|
||||
return PM3_EINVARG;
|
||||
}
|
||||
}
|
||||
@@ -5057,7 +5057,7 @@ static int CmdHFiClassConfigCard(const char *Cmd) {
|
||||
memcpy(keyroll_key, iClass_Key_Table[kidx], 8);
|
||||
PrintAndLogEx(SUCCESS, "Using keyroll key[%d] " _GREEN_("%s"), kidx, sprint_hex(iClass_Key_Table[kidx], 8));
|
||||
} else {
|
||||
PrintAndLogEx(ERR, "--ki number is invalid");
|
||||
PrintAndLogEx(ERR, "--krki number is invalid");
|
||||
return PM3_EINVARG;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user