mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-23 14:45:37 -07:00
emrtd: Force dumping EF_SOD
This commit is contained in:
parent
41a7bdef1c
commit
a5aed0dffd
1 changed files with 3 additions and 0 deletions
|
@ -804,6 +804,7 @@ int dumpHF_EMRTD(char *documentnumber, char *dob, char *expiry) {
|
|||
PrintAndLogEx(INFO, "EF_DG1: %s", sprint_hex(response, resplen));
|
||||
}
|
||||
}
|
||||
// TODO: account for the case of no BAC
|
||||
PrintAndLogEx(DEBUG, "doc: %s", documentnumber);
|
||||
PrintAndLogEx(DEBUG, "dob: %s", dob);
|
||||
PrintAndLogEx(DEBUG, "exp: %s", expiry);
|
||||
|
@ -934,6 +935,8 @@ int dumpHF_EMRTD(char *documentnumber, char *dob, char *expiry) {
|
|||
dump_file(ks_enc, ks_mac, ssc, file_id, file_name, use_14b);
|
||||
}
|
||||
|
||||
dump_file(ks_enc, ks_mac, ssc, EF_SOD, "EF_SOD", use_14b);
|
||||
|
||||
DropField();
|
||||
return PM3_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue