mem spiffs dump now honors the -d filename and save to file when used together with the -t param

This commit is contained in:
iceman1001 2024-03-05 14:55:30 +01:00
commit 6a933555df
2 changed files with 3 additions and 1 deletions

View file

@ -3,6 +3,7 @@ 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... 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] ## [unreleased][unreleased]
- Changed `mem spiffs dump` - now if `-t` and `-d` it will also save to file (@iceman1001)
- Fixed `hf mf sim` - key type identification (@iceman1001) - Fixed `hf mf sim` - key type identification (@iceman1001)
- Added `lf em 4x70 recover` - recovery the second half of an id48 key (@henrygab) - Added `lf em 4x70 recover` - recovery the second half of an id48 key (@henrygab)
- Changed `hf emrtd info` - Added EG_DG7 viewing (@iceman1001) - Changed `hf emrtd info` - Added EG_DG7 viewing (@iceman1001)

View file

@ -427,8 +427,9 @@ static int CmdFlashMemSpiFFSDump(const char *Cmd) {
return PM3_EMALLOC; return PM3_EMALLOC;
} }
PrintAndLogEx(HINT, "Use 'trace list -1 -t ...' to view, 'trace save -f ...' to save"); PrintAndLogEx(HINT, "Use 'trace list -1 -t ...' to view, 'trace save -f ...' to save");
} else { }
if (dlen) {
// save to file // save to file
char fn[FILE_PATH_SIZE] = {0}; char fn[FILE_PATH_SIZE] = {0};
if (dlen) { if (dlen) {