mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
chg: 'sc raw' adjusted output
This commit is contained in:
parent
99eaef27fd
commit
c8e1eb11f2
1 changed files with 13 additions and 5 deletions
|
@ -103,11 +103,19 @@ int CmdSmartRaw(const char *Cmd) {
|
||||||
PrintAndLogEx(WARNING, "smart card response failed");
|
PrintAndLogEx(WARNING, "smart card response failed");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
PrintAndLogEx(SUCCESS,"isOK %d | %d | resp: %s",
|
|
||||||
resp.arg[0],
|
if ( !resp.arg[0] ) {
|
||||||
resp.arg[1],
|
PrintAndLogEx(WARNING, "smart card response failed");
|
||||||
sprint_hex(resp.d.asBytes, resp.arg[1])
|
return 1;
|
||||||
);
|
}
|
||||||
|
|
||||||
|
uint32_t len = resp.arg[1];
|
||||||
|
PrintAndLogEx(INFO, "received %i bytes:", len);
|
||||||
|
|
||||||
|
if (!len)
|
||||||
|
return 1;
|
||||||
|
|
||||||
|
PrintAndLogEx(SUCCESS, "%s", sprint_hex(resp.d.asBytes, len) );
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue