Merge pull request #2110 from spandox2/master

Change in behavior of hf mf autopwn when no card is detected
This commit is contained in:
Iceman 2023-09-11 19:55:20 +02:00 committed by GitHub
commit 503ad2c44e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2508,7 +2508,9 @@ static int CmdHF14AMfAutoPWN(const char *Cmd) {
uint64_t select_status = resp.oldarg[0]; uint64_t select_status = resp.oldarg[0];
if (select_status == 0) { if (select_status == 0) {
PrintAndLogEx(DEBUG, "iso14443a card select failed"); // iso14443a card select failed
PrintAndLogEx(FAILED, "No tag detected or other tag communication error");
PrintAndLogEx(HINT, "Hint: Try some distance or position of the card");
return PM3_ECARDEXCHANGE; return PM3_ECARDEXCHANGE;
} }