mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-10 18:24:27 +08:00
Chg: 'lf t55xx dump - updated json format
This commit is contained in:
parent
657061f8d5
commit
ac6afe9c04
1 changed files with 3 additions and 3 deletions
|
@ -338,9 +338,9 @@ int saveFileJSON(const char *preferredName, JSONFileType ftype, uint8_t *data, s
|
||||||
}
|
}
|
||||||
case jsfT55x7: {
|
case jsfT55x7: {
|
||||||
JsonSaveStr(root, "FileType", "t55x7");
|
JsonSaveStr(root, "FileType", "t55x7");
|
||||||
uint8_t id[4] = {0};
|
uint8_t conf[4] = {0};
|
||||||
memcpy(id, data, 4);
|
memcpy(conf, data, 4);
|
||||||
JsonSaveBufAsHexCompact(root, "$.Card.ID", id, sizeof(id));
|
JsonSaveBufAsHexCompact(root, "$.Card.ConfigBlock", conf, sizeof(conf));
|
||||||
|
|
||||||
for (size_t i = 0; i < (datalen / 4); i++) {
|
for (size_t i = 0; i < (datalen / 4); i++) {
|
||||||
char path[PATH_MAX_LENGTH] = {0};
|
char path[PATH_MAX_LENGTH] = {0};
|
||||||
|
|
Loading…
Reference in a new issue