mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
st25ta02kb getsignature: handle locked tags
This commit is contained in:
parent
c9f2c17841
commit
571ac28229
1 changed files with 7 additions and 1 deletions
|
@ -183,7 +183,13 @@ static int st25ta_get_signature(uint8_t *signature) {
|
|||
}
|
||||
activate_field = false;
|
||||
}
|
||||
|
||||
if (resplen != 32) {
|
||||
if ((resplen == 2) && (resp[0] == 0x69) && (resp[1] == 0x82)) {
|
||||
PrintAndLogEx(WARNING, "GetSignature: Security status not satisfied");
|
||||
}
|
||||
DropField();
|
||||
return PM3_ESOFT;
|
||||
}
|
||||
if (signature) {
|
||||
memcpy(signature, resp, 32);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue