fixing hf search loop and lessing the debug statements

This commit is contained in:
iceman1001 committed 2022-07-07 23:43:45 +02:00
1 parent 4697994ec7
commit 11e097c1bb
2 files changed
+14 -7

No files matched your search

+8 -5
View File
@@ -447,13 +447,16 @@ int read_xerox_uid(bool loop, bool verbose) {
if (status != PM3_SUCCESS) {
continue;
}
}
} else {
if (loop == false) {
PrintAndLogEx(NORMAL, "");
if (status == PM3_SUCCESS) {
PrintAndLogEx(NORMAL, "");
PrintAndLogEx(SUCCESS, " UID : %s", sprint_hex(card.uid, card.uidlen));
PrintAndLogEx(SUCCESS, " ATQB : %s", sprint_hex(card.atqb, sizeof(card.atqb)));
} else {
return PM3_ESOFT;
}
}
PrintAndLogEx(SUCCESS, " UID : %s", sprint_hex(card.uid, card.uidlen));
PrintAndLogEx(SUCCESS, " ATQB : %s", sprint_hex(card.atqb, sizeof(card.atqb)));
} while (loop && kbd_enter_pressed() == false);