mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-07-31 03:50:45 -07:00
modified mfu info to correctly identify ntag i2c tags
This commit is contained in:
parent
c6adda54ed
commit
2f6df627dc
4 changed files with 88 additions and 24 deletions
|
@ -1902,8 +1902,6 @@ int loadFileJSONex(const char *preferredName, void *data, size_t maxdatalen, siz
|
|||
}
|
||||
|
||||
out:
|
||||
|
||||
|
||||
if (callback != NULL) {
|
||||
(*callback)(root);
|
||||
}
|
||||
|
@ -2205,6 +2203,12 @@ mfu_df_e detect_mfu_dump_format(uint8_t **dump, bool verbose) {
|
|||
retval = MFU_DF_NEWBIN;
|
||||
}
|
||||
|
||||
// Memory layout is different for NTAG I2C 1K/2K plus
|
||||
// Sak 00, atqa 44 00
|
||||
if (0 == new->data[7] && 0x44 == new->data[8] && 0x00 == new->data[9] ) {
|
||||
retval = MFU_DF_NEWBIN;
|
||||
}
|
||||
|
||||
// detect old
|
||||
if (retval == MFU_DF_UNKNOWN) {
|
||||
old_mfu_dump_t *old = (old_mfu_dump_t *)*dump;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue