hf {14a,mf} sim: v is for verbose

This commit is contained in:
Michael Farrell 2016-10-27 23:36:43 +11:00
parent dfdbfa0702
commit 32beef538e
2 changed files with 12 additions and 12 deletions

View file

@ -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;

View file

@ -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;