mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 10:43:01 +08:00
hf mf nested: swap loops for faster results (try harder to break keyA first)
This commit is contained in:
parent
bdd6ef98b5
commit
1368595be1
1 changed files with 2 additions and 2 deletions
|
@ -1243,9 +1243,9 @@ static int CmdHF14AMfNested(const char *Cmd) {
|
|||
// int iterations = 0;
|
||||
bool calibrate = true;
|
||||
|
||||
for (int i = 0; i < MIFARE_SECTOR_RETRY; i++) {
|
||||
for (trgKeyType = 0; trgKeyType < 2; ++trgKeyType) {
|
||||
for (uint8_t sectorNo = 0; sectorNo < SectorsCnt; ++sectorNo) {
|
||||
for (trgKeyType = 0; trgKeyType < 2; ++trgKeyType) {
|
||||
for (int i = 0; i < MIFARE_SECTOR_RETRY; i++) {
|
||||
|
||||
if (e_sector[sectorNo].foundKey[trgKeyType]) continue;
|
||||
|
||||
|
|
Loading…
Reference in a new issue