mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
Skip attempting GET DATA if reported as unsupported
This commit is contained in:
@@ -1781,6 +1781,10 @@ static void calypso_print_info_data_objects(void) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (sw == ISO7816_INS_NOT_SUPPORTED) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (has_data == false) {
|
||||
continue;
|
||||
}
|
||||
@@ -1811,6 +1815,13 @@ static size_t calypso_probe_get_data_objects(json_t *entries, bool print_results
|
||||
continue;
|
||||
}
|
||||
|
||||
if (sw == ISO7816_INS_NOT_SUPPORTED) {
|
||||
if (verbose) {
|
||||
PrintAndLogEx(INFO, " %04X %-24s : " _YELLOW_("%04X") " - %s", probe->tag, probe->name, sw, GetAPDUCodeDescription(sw >> 8, sw & 0xFF));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
if (calypso_read_sw_has_data(sw, response_len)) {
|
||||
if (print_results || verbose) {
|
||||
calypso_print_get_data_object(probe, response, response_len);
|
||||
|
||||
Reference in New Issue
Block a user