mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
Update iclass.c
This commit is contained in:
parent
7acf507826
commit
fd098ba12f
1 changed files with 4 additions and 5 deletions
|
@ -3004,11 +3004,6 @@ fast_restore:
|
|||
if (res == true) {
|
||||
status_message = 7; //restore of original key verified - card usable again
|
||||
reverted = true;
|
||||
if(recovered){
|
||||
goto restore;
|
||||
}else{
|
||||
goto out;
|
||||
}
|
||||
}
|
||||
revert_retries++;
|
||||
if (revert_retries >= 7) { //must always be an odd number!
|
||||
|
@ -3016,6 +3011,10 @@ fast_restore:
|
|||
DbpString(_CYAN_("Last Written Key (fast): "));
|
||||
Dbhexdump(8, fast_restore_key, false);
|
||||
Dbprintf(_RED_("Attempted to restore original key for %3d times and failed. Stopping. Card is likely unusable."), revert_retries);
|
||||
}
|
||||
if(recovered){
|
||||
goto restore;
|
||||
}else{
|
||||
goto out;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue