improved messaging for cards w/o variable keys
This commit is contained in:
1 parent
700a109a8e
commit
3d0fe23c17
1 file changed
+2
-1
@@ -1758,7 +1758,8 @@ static int CmdHFSaflokInterrogate(const char *Cmd) {
|
|||||||
uint8_t control_byte = block2[5];
|
uint8_t control_byte = block2[5];
|
||||||
uint8_t subblock_stop = (control_byte >> 3);
|
uint8_t subblock_stop = (control_byte >> 3);
|
||||||
if (subblock_stop == 0) {
|
if (subblock_stop == 0) {
|
||||||
PrintAndLogEx(WARNING, "subblock_stop is invalid (zero).");
|
// same message as below for total_bytes == 0
|
||||||
|
PrintAndLogEx(SUCCESS, "Card has no variable keys");
|
||||||
return PM3_EINVARG;
|
return PM3_EINVARG;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user