mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-22 23:24:22 +08:00
fixing hf search loop and lessing the debug statements
This commit is contained in:
parent
4697994ec7
commit
11e097c1bb
2 changed files with 14 additions and 7 deletions
|
@ -1865,14 +1865,18 @@ int iso14443b_select_xrx_card(iso14b_card_select_t *card) {
|
|||
if (4 == slot) {
|
||||
FpgaDisableTracing();
|
||||
|
||||
if (g_dbglevel >= DBG_DEBUG) {
|
||||
DbpString("no answer to anticollision");
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
retlen = Get14443bAnswerFromTag(x_atqb, sizeof(x_atqb), iso14b_timeout, &eof_time);
|
||||
|
||||
if (g_dbglevel >= DBG_DEBUG) {
|
||||
Dbprintf("anticollision uid %llx", uid);
|
||||
}
|
||||
|
||||
// ATQB too short?
|
||||
if (retlen < 18) {
|
||||
|
|
|
@ -447,13 +447,16 @@ int read_xerox_uid(bool loop, bool verbose) {
|
|||
if (status != PM3_SUCCESS) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
if (loop == false) {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
} while (loop && kbd_enter_pressed() == false);
|
||||
|
||||
|
|
Loading…
Reference in a new issue