mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 18:57:12 +08:00
chg: 'hf iclass sim' ..double
This commit is contained in:
parent
8380743a42
commit
59a461fd2b
1 changed files with 2 additions and 2 deletions
|
@ -423,9 +423,9 @@ int CmdHFiClassSim(const char *Cmd) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
uint8_t num_mac = resp.arg[1];
|
uint8_t num_mac = resp.arg[1];
|
||||||
bool success = ( (NUM_CSNS * 2) == num_mac );
|
bool success = ( (NUM_CSNS * 2) == num_mac );
|
||||||
PrintAndLog("[%c] %d out of %d MAC obtained [%s]", (success) ? '+':'!', num_mac, NUM_CSNS, (success) ? "OK" : "FAIL");
|
PrintAndLog("[%c] %d out of %d MAC obtained [%s]", (success) ? '+':'!', num_mac, NUM_CSNS*2, (success) ? "OK" : "FAIL");
|
||||||
|
|
||||||
if ( num_mac == 0 )
|
if ( num_mac == 0 )
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue