Update cmdhfmf.c

Problem: "hf mf autopwn" gave no response if no card was detected, leaving user confused.
Solution: Change a DEBUG message to an ERR and give a hint that the card may be poorly positioned.

Signed-off-by: spandox2 <31641448+spandox2@users.noreply.github.com>
This commit is contained in:
spandox2 2023-09-11 11:56:45 -04:00 committed by GitHub
commit 5584410bbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2508,7 +2508,7 @@ static int CmdHF14AMfAutoPWN(const char *Cmd) {
uint64_t select_status = resp.oldarg[0];
if (select_status == 0) {
PrintAndLogEx(ERR, "iso14443a card select failed (Hint: check card possition)");
PrintAndLogEx(ERR, "iso14443a card select failed (Hint: check card position)");
return PM3_ECARDEXCHANGE;
}