reworked the JSON format for 14a, 14b, 15, cryptorf, lto, NDEF.\nDeprecated EML format. Pm3 client do not save EML files any more.nPm3 client will continue to load EML files.
This commit is contained in:
1 parent
bb5d61dca7
commit
fb23d2047f
27 files changed
+617
-319
No files matched your search
@@ -897,9 +897,9 @@ static int CmdHFTopazDump(const char *Cmd) {
|
||||
}
|
||||
|
||||
if (topaz_tag.size)
|
||||
pm3_save_dump(filename, (uint8_t *)&topaz_tag, sizeof(topaz_tag_t) + topaz_tag.size, jsfTopaz, TOPAZ_BLOCK_SIZE);
|
||||
pm3_save_dump(filename, (uint8_t *)&topaz_tag, sizeof(topaz_tag_t) + topaz_tag.size, jsfTopaz);
|
||||
else
|
||||
pm3_save_dump(filename, (uint8_t *)&topaz_tag, sizeof(topaz_tag_t), jsfTopaz, TOPAZ_BLOCK_SIZE);
|
||||
pm3_save_dump(filename, (uint8_t *)&topaz_tag, sizeof(topaz_tag_t), jsfTopaz);
|
||||
|
||||
if (set_dynamic) {
|
||||
free(topaz_tag.dynamic_memory);
|
||||
@@ -916,7 +916,7 @@ static int CmdHFTopazView(const char *Cmd) {
|
||||
|
||||
void *argtable[] = {
|
||||
arg_param_begin,
|
||||
arg_str1("f", "file", "<fn>", "filename of dump (bin/eml/json)"),
|
||||
arg_str1("f", "file", "<fn>", "filename of dump"),
|
||||
arg_param_end
|
||||
};
|
||||
CLIExecWithReturn(ctx, Cmd, argtable, false);
|
||||
|
||||
Reference in new issue
Block a user