From 9eca7fce8394aad879993134aaf41a259e39ac64 Mon Sep 17 00:00:00 2001 From: Mistial Developer Date: Fri, 28 Apr 2023 00:09:24 -0500 Subject: [PATCH] Add text explaining that the format is H10301 for binary, and specifying it for non-binary --- client/src/cmdhficlass.c | 6 +++--- doc/commands.json | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/client/src/cmdhficlass.c b/client/src/cmdhficlass.c index b328436bb..ba6d984ad 100644 --- a/client/src/cmdhficlass.c +++ b/client/src/cmdhficlass.c @@ -3836,9 +3836,9 @@ static int CmdHFiClassEncode(const char *Cmd) { CLIParserInit(&ctx, "hf iclass encode", "Encode binary wiegand to block 7,8,9\n" "Use either --bin or --wiegand/--fc/--cn", - "hf iclass encode --bin 10001111100000001010100011 --ki 0 -> FC 31 CN 337\n" - "hf iclass encode --fc 31 --cn 337 --ki 0 -> FC 31 CN 337\n" - "hf iclass encode --bin 10001111100000001010100011 --ki 0 --elite -> FC 31 CN 337, writing w elite key" + "hf iclass encode --bin 10001111100000001010100011 --ki 0 -> FC 31 CN 337 (H10301)\n" + "hf iclass encode -w H10301 --fc 31 --cn 337 --ki 0 -> FC 31 CN 337 (H10301)\n" + "hf iclass encode --bin 10001111100000001010100011 --ki 0 --elite -> FC 31 CN 337 (H10301), writing w elite key" ); void *argtable[] = { diff --git a/doc/commands.json b/doc/commands.json index 703ff688c..f8712fc47 100644 --- a/doc/commands.json +++ b/doc/commands.json @@ -3100,9 +3100,9 @@ "command": "hf iclass encode", "description": "Encode binary wiegand to block 7,8,9 Use either --bin or --wiegand/--fc/--cn", "notes": [ - "hf iclass encode --bin 10001111100000001010100011 --ki 0 -> FC 31 CN 337", - "hf iclass encode --fc 31 --cn 337 --ki 0 -> FC 31 CN 337", - "hf iclass encode --bin 10001111100000001010100011 --ki 0 --elite -> FC 31 CN 337, writing w elite key" + "hf iclass encode --bin 10001111100000001010100011 --ki 0 -> FC 31 CN 337 (H10301)", + "hf iclass encode -w H10301 --fc 31 --cn 337 --ki 0 -> FC 31 CN 337 (H10301)", + "hf iclass encode --bin 10001111100000001010100011 --ki 0 --elite -> FC 31 CN 337 (H10301), writing w elite key" ], "offline": true, "options": [ @@ -11991,4 +11991,4 @@ "extracted_by": "PM3Help2JSON v1.00", "extracted_on": "2023-03-26T15:04:49" } -} \ No newline at end of file +}