From 32beef538ec649e9be182f952f490ffa6f3566cd Mon Sep 17 00:00:00 2001 From: Michael Farrell Date: Thu, 27 Oct 2016 23:36:43 +1100 Subject: [PATCH] hf {14a,mf} sim: v is for verbose --- client/cmdhf14a.c | 12 ++++++------ client/cmdhfmf.c | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/client/cmdhf14a.c b/client/cmdhf14a.c index 41528b8e..c5585386 100644 --- a/client/cmdhf14a.c +++ b/client/cmdhf14a.c @@ -143,7 +143,7 @@ int usage_hf_14a_sim(void) { // PrintAndLog(" u : 4, 7 or 10 byte UID"); PrintAndLog(" u : 4, 7 byte UID"); PrintAndLog(" x : (Optional) performs the 'reader attack', nr/ar attack against a legitimate reader"); - PrintAndLog(" m : (Optional) Show maths used for cracking reader. Useful for debugging."); + PrintAndLog(" v : (Optional) show maths used for cracking reader. Useful for debugging."); PrintAndLog("\n sample : hf 14a sim t 1 u 11223344 x"); PrintAndLog(" : hf 14a sim t 1 u 11223344"); PrintAndLog(" : hf 14a sim t 1 u 11223344556677"); @@ -455,11 +455,6 @@ int CmdHF14ASim(const char *Cmd) { case 'h': case 'H': return usage_hf_14a_sim(); - case 'm': - case 'M': - showMaths = true; - cmdp++; - break; case 't': case 'T': // Retrieve the tag type @@ -484,6 +479,11 @@ int CmdHF14ASim(const char *Cmd) { } cmdp += 2; break; + case 'v': + case 'V': + showMaths = true; + cmdp++; + break; case 'x': case 'X': flags |= FLAG_NR_AR_ATTACK; diff --git a/client/cmdhfmf.c b/client/cmdhfmf.c index 36896c89..ea73bf95 100644 --- a/client/cmdhfmf.c +++ b/client/cmdhfmf.c @@ -32,7 +32,7 @@ int usage_hf14_mf1ksim(void){ PrintAndLog(" i (Optional) Interactive, means that console will not be returned until simulation finishes or is aborted"); PrintAndLog(" x (Optional) Crack, performs the 'reader attack', nr/ar attack against a legitimate reader, fishes out the key(s)"); PrintAndLog(" e (Optional) Fill simulator keys from what we crack"); - PrintAndLog(" m (Optional) Show maths used for cracking reader. Useful for debugging."); + PrintAndLog(" v (Optional) Show maths used for cracking reader. Useful for debugging."); PrintAndLog("samples:"); PrintAndLog(" hf mf sim u 0a0a0a0a"); PrintAndLog(" hf mf sim u 11223344556677"); @@ -1473,11 +1473,6 @@ int CmdHF14AMf1kSim(const char *Cmd) { flags |= FLAG_INTERACTIVE; cmdp++; break; - case 'm': - case 'M': - showMaths = true; - cmdp++; - break; case 'n': case 'N': exitAfterNReads = param_get8(Cmd, cmdp+1); @@ -1494,6 +1489,11 @@ int CmdHF14AMf1kSim(const char *Cmd) { } cmdp +=2; break; + case 'v': + case 'V': + showMaths = true; + cmdp++; + break; case 'x': case 'X': flags |= FLAG_NR_AR_ATTACK; -- 2.39.5