mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
Updated hf iclass tear to not run if the authentication fuses are blown
Updated hf iclass tear to not run if the authentication fuses are blown. Or it will just get stuck at the beginning and not start anyway. At least this informs the users why this is happening.
This commit is contained in:
parent
4b92118f1f
commit
8d3e301b55
1 changed files with 5 additions and 0 deletions
|
@ -3137,6 +3137,11 @@ static int CmdHFiClass_TearBlock(const char *Cmd) {
|
|||
auth = false;
|
||||
}
|
||||
|
||||
if (pagemap == 0x0) {
|
||||
PrintAndLogEx(WARNING, _RED_("No auth possible. Read only if RA is enabled"));
|
||||
goto out;
|
||||
}
|
||||
|
||||
bool read_auth = auth;
|
||||
|
||||
// perform initial read here, repeat if failed or 00s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue