mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-20 13:23:25 -07:00
atr length fix
This commit is contained in:
parent
f39da6cba7
commit
8987cc85b1
1 changed files with 5 additions and 0 deletions
|
@ -805,6 +805,11 @@ static int CmdSmartInfo(const char *Cmd){
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!card.atr_len) {
|
||||||
|
if (!silent) PrintAndLogEx(ERR, "can't get ATR from a smart card");
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
// print header
|
// print header
|
||||||
PrintAndLogEx(INFO, "--- Smartcard Information ---------");
|
PrintAndLogEx(INFO, "--- Smartcard Information ---------");
|
||||||
PrintAndLogEx(INFO, "-------------------------------------------------------------");
|
PrintAndLogEx(INFO, "-------------------------------------------------------------");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue