mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
HF15FindAfi now uses reply_ng and added LeaveFieldOn option for HF15Raw
This commit is contained in:
parent
cef28ad241
commit
931d115ef8
3 changed files with 26 additions and 3 deletions
|
@ -929,6 +929,7 @@ void BruteforceIso15693Afi(uint32_t speed) {
|
|||
uint8_t buf[ISO15_MAX_FRAME];
|
||||
memset(buf, 0x00, sizeof(buf));
|
||||
int datalen = 0, recvlen = 0;
|
||||
bool aborted = false;
|
||||
|
||||
Iso15693InitReader();
|
||||
|
||||
|
@ -968,12 +969,19 @@ void BruteforceIso15693Afi(uint32_t speed) {
|
|||
|
||||
if (BUTTON_PRESS()) {
|
||||
DbpString("button pressed, aborting..");
|
||||
aborted = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
DbpString("AFI Bruteforcing done.");
|
||||
switch_off();
|
||||
|
||||
if (aborted) {
|
||||
reply_ng(CMD_ACK, PM3_EOPABORTED, NULL, 0);
|
||||
} else {
|
||||
reply_ng(CMD_ACK, PM3_SUCCESS, NULL, 0);
|
||||
}
|
||||
}
|
||||
|
||||
// Allows to directly send commands to the tag via the client
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue