hf mf cview

This commit is contained in:
iceman1001 2020-08-30 01:10:52 +02:00
commit 85b3687ae5

View file

@ -4335,12 +4335,14 @@ static int CmdHF14AMfCView(const char *Cmd) {
}
// print
PrintAndLogEx(INFO, " blk | data | ascii");
PrintAndLogEx(INFO, "------+--------------------------------+----------------------");
PrintAndLogEx(NORMAL, "");
PrintAndLogEx(INFO, "----+-------------------------------------------------+-----------------");
PrintAndLogEx(INFO, "blk | data | ascii");
PrintAndLogEx(INFO, "----+-------------------------------------------------+-----------------");
for (uint16_t i = 0; i < numblocks; i++){
PrintAndLogEx(INFO, "%03d | %s ", i, sprint_hex_ascii(dump + (i * 16) , 16) );
}
PrintAndLogEx(INFO, "------+--------------------------------+----------------------");
PrintAndLogEx(INFO, "----+-------------------------------------------------+-----------------");
free(dump);
return PM3_SUCCESS;