mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
fix 'hf 14a read' needs a disconnect if failed.
fix 'hf mf csave' now prints which card size it is trying to dump
This commit is contained in:
parent
1737081a5d
commit
9f54a5e4b9
2 changed files with 3 additions and 1 deletions
|
@ -174,6 +174,7 @@ int CmdHF14AReader(const char *Cmd) {
|
||||||
UsbCommand resp;
|
UsbCommand resp;
|
||||||
if (WaitForResponseTimeout(CMD_ACK, &resp, 1500)) {
|
if (WaitForResponseTimeout(CMD_ACK, &resp, 1500)) {
|
||||||
if (Cmd[0] != 's') PrintAndLog("iso14443a card select failed");
|
if (Cmd[0] != 's') PrintAndLog("iso14443a card select failed");
|
||||||
|
SendCommand(&cDisconnect);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2332,6 +2332,7 @@ int CmdHF14AMfCSave(const char *Cmd) {
|
||||||
case '2':
|
case '2':
|
||||||
case '4':
|
case '4':
|
||||||
numblocks = NumOfBlocks(ctmp);
|
numblocks = NumOfBlocks(ctmp);
|
||||||
|
PrintAndLog("Saving magic mifare %cK", ctmp);
|
||||||
cmdp++;
|
cmdp++;
|
||||||
break;
|
break;
|
||||||
case 'u':
|
case 'u':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue