change parameter, we like shorter parameter names remember... 'hf mfu aesauth --idx'

This commit is contained in:
iceman1001 2025-06-17 18:26:23 +02:00
commit 7fa9f7bdfe
2 changed files with 5 additions and 5 deletions

View file

@ -3930,13 +3930,13 @@ static int CmdHF14AMfUAESAuth(const char *Cmd) {
" Key index 1... UIDRetrKey\n" " Key index 1... UIDRetrKey\n"
" Key index 2... OriginalityKey\n", " Key index 2... OriginalityKey\n",
"hf mfu aesauth\n" "hf mfu aesauth\n"
"hf mfu aesauth --key <16 hex bytes> --index <0..2>" "hf mfu aesauth --key <16 hex bytes> --idx <0..2>"
); );
void *argtable[] = { void *argtable[] = {
arg_param_begin, arg_param_begin,
arg_str0(NULL, "key", "<hex>", "AES key (16 hex bytes)"), arg_str0(NULL, "key", "<hex>", "AES key (16 hex bytes)"),
arg_int0("i", "index", "<0..2>", "Key index, default: 0"), arg_int0("i", "idx", "<0..2>", "Key index (def: 0)"),
arg_lit0("k", NULL, "Keep field on (only if a key is provided)"), arg_lit0("k", NULL, "Keep field on (only if a key is provided)"),
arg_param_end arg_param_end
}; };

View file

@ -7088,13 +7088,13 @@
"description": "Tests AES key on Mifare Ultralight AES tags. If no key is specified, null key will be tried. Key index 0... DataProtKey (default) Key index 1... UIDRetrKey Key index 2... OriginalityKey", "description": "Tests AES key on Mifare Ultralight AES tags. If no key is specified, null key will be tried. Key index 0... DataProtKey (default) Key index 1... UIDRetrKey Key index 2... OriginalityKey",
"notes": [ "notes": [
"hf mfu aesauth", "hf mfu aesauth",
"hf mfu aesauth --key <16 hex bytes> --index <0..2>" "hf mfu aesauth --key <16 hex bytes> --idx <0..2>"
], ],
"offline": false, "offline": false,
"options": [ "options": [
"-h, --help This help", "-h, --help This help",
"--key <hex> AES key (16 hex bytes)", "--key <hex> AES key (16 hex bytes)",
"-i, --index <0..2> Key index, default: 0", "-i, --idx <0..2> Key index (def: 0)",
"-k Keep field on (only if a key is provided)" "-k Keep field on (only if a key is provided)"
], ],
"usage": "hf mfu aesauth [-hk] [--key <hex>] [-i <0..2>]" "usage": "hf mfu aesauth [-hk] [--key <hex>] [-i <0..2>]"
@ -13365,6 +13365,6 @@
"metadata": { "metadata": {
"commands_extracted": 768, "commands_extracted": 768,
"extracted_by": "PM3Help2JSON v1.00", "extracted_by": "PM3Help2JSON v1.00",
"extracted_on": "2025-06-15T10:52:29" "extracted_on": "2025-06-17T16:11:53"
} }
} }