mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-01 05:07:03 +08:00
wrong struct when pasting
This commit is contained in:
parent
5471d326b7
commit
4708940c69
1 changed files with 1 additions and 1 deletions
|
@ -446,7 +446,7 @@ int saveFileJSONex(const char *preferredName, JSONFileType ftype, uint8_t *data,
|
|||
uint8_t pagemap = get_pagemap(&hdr);
|
||||
if (pagemap == PICOPASS_NON_SECURE_PAGEMODE) {
|
||||
picopass_ns_hdr_t ns_hdr;
|
||||
memcpy(&ns_hdr, data, sizeof(picopass_hdr_t));
|
||||
memcpy(&ns_hdr, data, sizeof(picopass_ns_hdr_t));
|
||||
JsonSaveBufAsHexCompact(root, "$.Card.AIA", ns_hdr.app_issuer_area, sizeof(ns_hdr.app_issuer_area));
|
||||
} else {
|
||||
JsonSaveBufAsHexCompact(root, "$.Card.Epurse", hdr.epurse, sizeof(hdr.epurse));
|
||||
|
|
Loading…
Reference in a new issue