'hf search' new line for
This commit is contained in:
@@ -1340,6 +1340,7 @@ int readLegicUid(bool verbose) {
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
PrintAndLogEx(NORMAL, "");
|
||||||
PrintAndLogEx(SUCCESS, " UID : %s", sprint_hex(card.uid, sizeof(card.uid)));
|
PrintAndLogEx(SUCCESS, " UID : %s", sprint_hex(card.uid, sizeof(card.uid)));
|
||||||
legic_print_type(card.cardsize, 0);
|
legic_print_type(card.cardsize, 0);
|
||||||
return PM3_SUCCESS;
|
return PM3_SUCCESS;
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ static int usage_thinfilm_sim(void) {
|
|||||||
// https://github.com/nfc-tools/libnfc/blob/master/utils/nfc-barcode.c
|
// https://github.com/nfc-tools/libnfc/blob/master/utils/nfc-barcode.c
|
||||||
static int print_barcode(uint8_t *barcode, const size_t barcode_len, bool verbose) {
|
static int print_barcode(uint8_t *barcode, const size_t barcode_len, bool verbose) {
|
||||||
|
|
||||||
|
PrintAndLogEx(NORMAL, "");
|
||||||
// remove start bit
|
// remove start bit
|
||||||
uint8_t mb = barcode[0] & ~0x80;
|
uint8_t mb = barcode[0] & ~0x80;
|
||||||
PrintAndLogEx(SUCCESS, " Manufacturer : "_YELLOW_("%s") "[0x%02X]", getTagInfo(mb), mb);
|
PrintAndLogEx(SUCCESS, " Manufacturer : "_YELLOW_("%s") "[0x%02X]", getTagInfo(mb), mb);
|
||||||
|
|||||||
@@ -433,6 +433,7 @@ static int CmdHFTopazReader(const char *Cmd) {
|
|||||||
return PM3_ESOFT;
|
return PM3_ESOFT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PrintAndLogEx(NORMAL, "");
|
||||||
PrintAndLogEx(NORMAL, "ATQA : %02x %02x", atqa[1], atqa[0]);
|
PrintAndLogEx(NORMAL, "ATQA : %02x %02x", atqa[1], atqa[0]);
|
||||||
|
|
||||||
topaz_tag.HR01[0] = rid_response[0];
|
topaz_tag.HR01[0] = rid_response[0];
|
||||||
|
|||||||
Reference in New Issue
Block a user