mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
UL/NTAG new dump file format. Added counters support, simulation
This commit is contained in:
parent
c7a4d7af3a
commit
db3103b531
9 changed files with 123 additions and 74 deletions
|
@ -12,16 +12,16 @@
|
|||
#include "comms.h"
|
||||
#include "loclass/fileutils.h"
|
||||
|
||||
#define DUMP_PREFIX_LENGTH 48
|
||||
// Length must be aligned to 4 bytes (UL/NTAG page)
|
||||
#define DUMP_PREFIX_LENGTH 56
|
||||
|
||||
typedef struct {
|
||||
uint8_t version[8];
|
||||
uint8_t tbo[2];
|
||||
uint8_t tearing[3];
|
||||
uint8_t pack[2];
|
||||
uint8_t tbo1[1];
|
||||
uint8_t pages; // max page number in dump
|
||||
uint8_t signature[32];
|
||||
//uint8_t counter[3];
|
||||
uint8_t counter_tearing[3][4]; // 3 bytes counter, 1 byte tearing flag
|
||||
uint8_t data[1024];
|
||||
} mfu_dump_t;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue