added support to read bruce dump files. Only changes the file extension (.rfid) compared to the Flipper Zero (.nfc) formats

This commit is contained in:
iceman1001
2025-11-05 16:32:05 +01:00
parent 3bdb7657f4
commit aa3e6611b5
3 changed files with 8 additions and 1 deletions
+4 -1
View File
@@ -3,7 +3,10 @@ All notable changes to this project will be documented in this file.
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
## [unreleased][unreleased]
- Updated id48lib (adds unit tests, better build management)
- Added support for Bruce dump files [.rfid] (@iceman1001)
- Added script `read_t-union.py` (@klks)
- Added better ECP configuration aliases (@kormax)
- Updated id48lib (adds unit tests, better build management) (@henrygab)
- Added two trace files for Ultralight AES (@iceman1001)
- Added support for Ultralight AES secure messaing in `hf 14a raw` (@iceman1001)
- Added support for Ultralight AES secure messaging in `hf mfu info/rdbl/wrbl/dump/ndefread/wipe/setkey` (@iceman1001)
+3
View File
@@ -91,6 +91,8 @@ DumpFileType_t get_filetype(const char *filename) {
o = FLIPPER;
} else if (str_endswith(s, "xml")) {
o = TAGINFO;
} else if (str_endswith(s, "rfid")) {
o = BRUCE;
} else {
// mfd, trc, trace is binary
o = BIN;
@@ -3293,6 +3295,7 @@ int pm3_load_dump(const char *fn, void **pdump, size_t *dumplen, size_t maxdumpl
}
break;
}
case BRUCE:
case FLIPPER: {
nfc_df_e dumptype = NFC_DF_UNKNOWN;
res = detect_nfc_dump_format(fn, &dumptype, true);
+1
View File
@@ -84,6 +84,7 @@ typedef enum {
MCT,
FLIPPER,
TAGINFO,
BRUCE,
} DumpFileType_t;
typedef enum {