mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-22 06:13:51 -07:00
emv: display the transaction time as HH:MM:SS
in the transaction log Signed-off-by: Anton Todorov <ANTodorov@users.noreply.github.com>
This commit is contained in:
parent
fa55681c4c
commit
6781dadc30
1 changed files with 5 additions and 0 deletions
|
@ -233,6 +233,11 @@ static int emv_parse_log(struct tlvdb *ttdb, const uint8_t *d, size_t n) {
|
||||||
PrintAndLogEx(INFO, "%-30s... " _YELLOW_("20%02x-%02x-%02x"), s, d[pos], d[pos + 1], d[pos + 2]);
|
PrintAndLogEx(INFO, "%-30s... " _YELLOW_("20%02x-%02x-%02x"), s, d[pos], d[pos + 1], d[pos + 2]);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 0x9F21:
|
||||||
|
if (tpitem->len == 3) {
|
||||||
|
PrintAndLogEx(INFO, "%-30s... " _YELLOW_("%02x:%02x:%02x"), s, d[pos], d[pos + 1], d[pos + 2]);
|
||||||
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
PrintAndLogEx(INFO, "%-30s... " _YELLOW_("%s"), s, sprint_hex_inrow(d + pos, tpitem->len));
|
PrintAndLogEx(INFO, "%-30s... " _YELLOW_("%s"), s, sprint_hex_inrow(d + pos, tpitem->len));
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue