mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-22 14:23:50 -07:00
newline
This commit is contained in:
parent
9b2bf3e544
commit
367c84bce3
1 changed files with 9 additions and 3 deletions
|
@ -521,6 +521,10 @@ int read_texkom_uid(bool loop, bool verbose) {
|
||||||
// decoding code
|
// decoding code
|
||||||
if (card.tcode[0] == 0xff && card.tcode[1] == 0xff) {
|
if (card.tcode[0] == 0xff && card.tcode[1] == 0xff) {
|
||||||
|
|
||||||
|
if (loop == false) {
|
||||||
|
PrintAndLogEx(NORMAL, "");
|
||||||
|
}
|
||||||
|
|
||||||
bool crc = (TexcomTK13CRC(&card.tcode[3]) == card.tcode[7]);
|
bool crc = (TexcomTK13CRC(&card.tcode[3]) == card.tcode[7]);
|
||||||
|
|
||||||
if (card.tcode[2] == 0x63) {
|
if (card.tcode[2] == 0x63) {
|
||||||
|
@ -536,9 +540,11 @@ int read_texkom_uid(bool loop, bool verbose) {
|
||||||
PrintAndLogEx(INFO, "CRC...... %s", (crc) ? _GREEN_("ok") : _RED_("fail"));
|
PrintAndLogEx(INFO, "CRC...... %s", (crc) ? _GREEN_("ok") : _RED_("fail"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (verbose) {
|
||||||
PrintAndLogEx(INFO, "Raw... %s", sprint_hex(card.tcode, 8));
|
PrintAndLogEx(INFO, "Raw... %s", sprint_hex(card.tcode, 8));
|
||||||
PrintAndLogEx(INFO, "Raw Reversed... %s", sprint_hex(card.rtcode, 8));
|
PrintAndLogEx(INFO, "Raw Reversed... %s", sprint_hex(card.rtcode, 8));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
} while (loop && kbd_enter_pressed() == false);
|
} while (loop && kbd_enter_pressed() == false);
|
||||||
|
|
||||||
|
@ -549,7 +555,7 @@ static int CmdHFTexkomReader(const char *Cmd) {
|
||||||
CLIParserContext *ctx;
|
CLIParserContext *ctx;
|
||||||
CLIParserInit(&ctx, "hf texkom reader",
|
CLIParserInit(&ctx, "hf texkom reader",
|
||||||
"Read a texkom tag",
|
"Read a texkom tag",
|
||||||
"hf texkom reader"
|
"hf texkom reader\n"
|
||||||
"hf texkom reader -@ -> continuous reader mode"
|
"hf texkom reader -@ -> continuous reader mode"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue