mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
dont check KEYB if KEYA dumped it all
This commit is contained in:
parent
65e6af8aef
commit
fa532a0e1b
1 changed files with 11 additions and 10 deletions
|
@ -869,17 +869,18 @@ static int FastDumpWithEcFill(uint8_t numsectors) {
|
||||||
|
|
||||||
int res = WaitForResponseTimeout(CMD_HF_MIFARE_EML_LOAD, &resp, 2000);
|
int res = WaitForResponseTimeout(CMD_HF_MIFARE_EML_LOAD, &resp, 2000);
|
||||||
if (res != PM3_SUCCESS) {
|
if (res != PM3_SUCCESS) {
|
||||||
PrintAndLogEx(INFO, "fast dump reported back failure, when trying keyA");
|
PrintAndLogEx(INFO, "fast dump reported back failure w KEY A, swapping to KEY B");
|
||||||
}
|
|
||||||
|
|
||||||
// ecfill key B
|
// ecfill key B
|
||||||
payload.keytype = 1;
|
payload.keytype = 1;
|
||||||
|
|
||||||
clearCommandBuffer();
|
clearCommandBuffer();
|
||||||
SendCommandNG(CMD_HF_MIFARE_EML_LOAD, (uint8_t *)&payload, sizeof(payload));
|
SendCommandNG(CMD_HF_MIFARE_EML_LOAD, (uint8_t *)&payload, sizeof(payload));
|
||||||
res = WaitForResponseTimeout(CMD_HF_MIFARE_EML_LOAD, &resp, 2000);
|
res = WaitForResponseTimeout(CMD_HF_MIFARE_EML_LOAD, &resp, 2000);
|
||||||
if (res != PM3_SUCCESS) {
|
if (res != PM3_SUCCESS) {
|
||||||
PrintAndLogEx(INFO, "fast dump reported back failure, when trying keyB");
|
PrintAndLogEx(INFO, "fast dump reported back failure w KEY B");
|
||||||
|
PrintAndLogEx(INFO, "Dump file is " _RED_("PARTIAL") "complete");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return PM3_SUCCESS;
|
return PM3_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue