add some info to create

This commit is contained in:
merlokk committed 2022-02-02 17:17:19 +02:00
1 parent 8132c7753d
commit 81d18ebb89
3 files changed
+7 -3

No files matched your search

+5 -2
View File
@@ -1014,11 +1014,14 @@ static int CmdHFCipurseCreateDGI(const char *Cmd) {
CLIParserFree(ctx);
SetAPDULogging(APDULogging);
if (verbose && hdatalen > 1) {
if (verbose && hdatalen > 3) {
if (hdata[0] == 0x92 && hdata[1] == 0x00)
PrintAndLogEx(INFO, "DGI 9200 - ADF file attributes");
if (hdata[0] == 0x92 && hdata[1] == 0x01)
if (hdata[0] == 0x92 && hdata[1] == 0x01) {
PrintAndLogEx(INFO, "DGI 9201 - EF file attributes");
PrintAndLogEx(INFO, "File type:");
CIPURSEPrintFileDescriptor(hdata[3]);
}
if (hdata[0] == 0xa0 && hdata[1] == 0x0f)
PrintAndLogEx(INFO, "DGI a00f - All key values");
}