From a52024ef3d6c0b81460e25ab3c60992f6cd92ee2 Mon Sep 17 00:00:00 2001 From: noncetonic Date: Thu, 1 Feb 2018 06:41:44 -0800 Subject: [PATCH] Updates command usage Updates `usage_hf_iclass_lookup` to match u/U being used for CSN vs c/C. Updates `usage_hf_iclass_sim` to include "sim 4" Updates `usage_hf_iclass_writeblock` to remove sample with invalid `n 0` option --- client/cmdhficlass.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/cmdhficlass.c b/client/cmdhficlass.c index cf97baaa7..d391b53b2 100644 --- a/client/cmdhficlass.c +++ b/client/cmdhficlass.c @@ -41,6 +41,7 @@ int usage_hf_iclass_sim(void) { PrintAndLog(" hf iclass sim 2"); PrintAndLog(" hf iclass eload 'tagdump.bin'"); PrintAndLog(" hf iclass sim 3"); + PrintAndLog(" hf iclass sim 4"); return 0; } int usage_hf_iclass_eload(void) { @@ -118,7 +119,7 @@ int usage_hf_iclass_writeblock(void) { PrintAndLog("Samples:"); PrintAndLog(" hf iclass writeblk b 0A d AAAAAAAAAAAAAAAA k 001122334455667B"); PrintAndLog(" hf iclass writeblk b 1B d AAAAAAAAAAAAAAAA k 001122334455667B c"); - PrintAndLog(" hf iclass writeblk b 0A d AAAAAAAAAAAAAAAA n 0"); + // PrintAndLog(" hf iclass writeblk b 0A d AAAAAAAAAAAAAAAA n 0"); # No reference to option `n` in implementation return 0; } int usage_hf_iclass_readblock(void) { @@ -229,7 +230,7 @@ int usage_hf_iclass_chk(void) { } int usage_hf_iclass_lookup(void) { PrintAndLog("Lookup keys takes some sniffed trace data and tries to verify what key was used against a dictionary file"); - PrintAndLog("Usage: hf iclass lookup [h|e|r] [f (*.dic)] [c ] [p ] [m ]"); + PrintAndLog("Usage: hf iclass lookup [h|e|r] [f (*.dic)] [u ] [p ] [m ]"); PrintAndLog("Options:"); PrintAndLog(" h Show this help"); PrintAndLog(" f Dictionary file with default iclass keys");