mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-18 05:58:22 +08:00
CHG: 'LF VISA2000 CLONE' fixed the wrong blocknum index in output. Thanks @martin for pointing it out.
This commit is contained in:
parent
0a7e86db81
commit
3375daee9e
1 changed files with 2 additions and 4 deletions
|
@ -118,10 +118,8 @@ int CmdVisa2kClone(const char *Cmd) {
|
||||||
PrintAndLog("Preparing to clone Visa2000 to T55x7 with CardId: %u", id);
|
PrintAndLog("Preparing to clone Visa2000 to T55x7 with CardId: %u", id);
|
||||||
PrintAndLog("Blk | Data ");
|
PrintAndLog("Blk | Data ");
|
||||||
PrintAndLog("----+------------");
|
PrintAndLog("----+------------");
|
||||||
PrintAndLog(" 00 | 0x%08x", blocks[0]);
|
for(int i = 0; i<4; ++i)
|
||||||
PrintAndLog(" 01 | 0x%08x", blocks[1]);
|
PrintAndLog(" %02d | 0x%08x", i , blocks[i]);
|
||||||
PrintAndLog(" 02 | 0x%08x", blocks[2]);
|
|
||||||
PrintAndLog(" 02 | 0x%08x", blocks[3]);
|
|
||||||
|
|
||||||
UsbCommand resp;
|
UsbCommand resp;
|
||||||
UsbCommand c = {CMD_T55XX_WRITE_BLOCK, {0,0,0}};
|
UsbCommand c = {CMD_T55XX_WRITE_BLOCK, {0,0,0}};
|
||||||
|
|
Loading…
Reference in a new issue