REN: renamed tnp3.lua to tnp3dump.lua since that name is more explainatory

ADD: added tnp3sim.lua  a script which loads a dump and sends it to the pm3 device memory.
This commit is contained in:
iceman1001
2014-11-14 13:24:45 +01:00
parent b22f7a6bc6
commit bd5d0f07e9
4 changed files with 392 additions and 19 deletions

View File

@@ -1623,6 +1623,7 @@ int CmdHF14AMfEKeyPrn(const char *Cmd)
if (mfEmlGetMem(data, FirstBlockOfSector(i) + NumBlocksPerSector(i) - 1, 1)) {
PrintAndLog("error get block %d", FirstBlockOfSector(i) + NumBlocksPerSector(i) - 1);
break;
break;
}
keyA = bytes_to_num(data, 6);
keyB = bytes_to_num(data + 10, 6);