Merge pull request #2554 from Antiklesys/master

Fixed config cards segmentation fault
This commit is contained in:
Iceman 2024-10-04 10:51:26 +03:00 committed by GitHub
commit b124d11c09
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4921,7 +4921,9 @@ static int CmdHFiClassConfigCard(const char *Cmd) {
void *argtable[] = {
arg_param_begin,
arg_int0(NULL, "ci", "<dec>", "use config slot at index"),
arg_int0(NULL, "ki", "<dec>", "Key index to select key from memory 'hf iclass managekeys'"),
arg_int0(NULL, "ki", "<dec>", "Card Key - index to select key from memory 'hf iclass managekeys'"),
arg_int0(NULL, "krki", "<dec>", "Elite Keyroll Key - index to select key from memory 'hf iclass managekeys'"),
arg_lit0(NULL, "elite", "Use elite key for the the Card Key ki"),
arg_lit0("g", NULL, "generate card dump file"),
arg_lit0("l", NULL, "load available cards"),
arg_lit0("p", NULL, "print available cards"),