mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
chg: 'hf mf darkside' - better output for zero-parity attack.
chg: 'hf mf darkside' - now also honor keyboard interupt attack..
This commit is contained in:
parent
b8e7f20945
commit
9e8c1d81a4
1 changed files with 4 additions and 2 deletions
|
@ -32,6 +32,7 @@ int mfDarkside(uint8_t blockno, uint8_t key_type, uint64_t *key) {
|
||||||
//flush queue
|
//flush queue
|
||||||
while (ukbhit()) {
|
while (ukbhit()) {
|
||||||
int gc = getchar(); (void)gc;
|
int gc = getchar(); (void)gc;
|
||||||
|
return -5;
|
||||||
}
|
}
|
||||||
|
|
||||||
// wait cycle
|
// wait cycle
|
||||||
|
@ -79,6 +80,7 @@ int mfDarkside(uint8_t blockno, uint8_t key_type, uint64_t *key) {
|
||||||
if (keycount == 0) {
|
if (keycount == 0) {
|
||||||
free(last_keylist);
|
free(last_keylist);
|
||||||
last_keylist = keylist;
|
last_keylist = keylist;
|
||||||
|
PrintAndLog("[-] no candidates found, trying again...");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue