mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-09 17:56:53 +08:00
chg: 'hf mf darkside' - .... nothing special... zero parity attack works, doesnt crash, but takes kind of long time
This commit is contained in:
parent
13bb29a386
commit
304a59f710
1 changed files with 2 additions and 3 deletions
|
@ -105,10 +105,7 @@ int mfDarkside(uint8_t blockno, uint8_t key_type, uint64_t *key) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (*key != -1) {
|
if (*key != -1) {
|
||||||
free(last_keylist);
|
|
||||||
free(keylist);
|
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
PrintAndLog("[-] all candidate keys failed authentication. Restarting darkside attack");
|
PrintAndLog("[-] all candidate keys failed authentication. Restarting darkside attack");
|
||||||
|
@ -117,6 +114,8 @@ int mfDarkside(uint8_t blockno, uint8_t key_type, uint64_t *key) {
|
||||||
c.arg[0] = true;
|
c.arg[0] = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
free(last_keylist);
|
||||||
|
free(keylist);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
int mfCheckKeys(uint8_t blockNo, uint8_t keyType, bool clear_trace, uint8_t keycnt, uint8_t * keyBlock, uint64_t * key){
|
int mfCheckKeys(uint8_t blockNo, uint8_t keyType, bool clear_trace, uint8_t keycnt, uint8_t * keyBlock, uint64_t * key){
|
||||||
|
|
Loading…
Reference in a new issue