"hf mf ekeyprn d" doesn't works properly (#904)
[proxmark3-svn] / client / cmdhfmf.c
index 2fe747057ee7a2fad1a1ac65a76bcf90f9f8057a..22e6efac643716b1536d9f95844733c91d6a3830 100644 (file)
@@ -2060,7 +2060,7 @@ int CmdHF14AMfEKeyPrn(const char *Cmd)
                                PrintAndLog("error get block %d", FirstBlockOfSector(i) + NumBlocksPerSector(i) - 1);\r
                                break;\r
                        }\r
-                       fwrite(data+6, 1, 6, fkeys);\r
+                       fwrite(data, 1, 6, fkeys);\r
                }\r
                for(i = 0; i < numSectors; i++) {\r
                        if (mfEmlGetMem(data, FirstBlockOfSector(i) + NumBlocksPerSector(i) - 1, 1)) {\r
Impressum, Datenschutz