mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
CHG: 'hf 15 findafi' - added the possibility to cancel loop with buttonpress
This commit is contained in:
parent
e69d070596
commit
2c1e2a9f3a
3 changed files with 8 additions and 3 deletions
|
@ -1056,9 +1056,14 @@ void BruteforceIso15693Afi(uint32_t speed) {
|
|||
if (recvlen >= 12) {
|
||||
Dbprintf("AFI = %i UID = %s", i, sprintUID(NULL, buf + 2) );
|
||||
}
|
||||
|
||||
if (BUTTON_PRESS) {
|
||||
DbpString("button pressed, aborting..");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Dbprintf("AFI Bruteforcing done.");
|
||||
DbpString("AFI Bruteforcing done.");
|
||||
switch_off();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue