mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-09-26 09:28:22 +00:00
widen detection for flipper ultralight dump files
This commit is contained in:
@@ -3108,7 +3108,10 @@ int detect_nfc_dump_format(const char *preferredName, nfc_df_e *dump_type, bool
|
||||
str_cleanrn(line, sizeof(line));
|
||||
str_lower(line);
|
||||
|
||||
if (str_startswith(line, "device type: ntag")) {
|
||||
// older Flipper files name the exact chip, the current format writes
|
||||
// the family name instead
|
||||
if (str_startswith(line, "device type: ntag") ||
|
||||
str_startswith(line, "device type: mifare ultralight")) {
|
||||
*dump_type = NFC_DF_MFU;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user