mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-22 06:13:27 -07:00
added parity bits comparison
This commit is contained in:
parent
4c1327a90e
commit
9249422291
1 changed files with 7 additions and 1 deletions
|
@ -2598,7 +2598,13 @@ int CmdHF14AMfSniff(const char *Cmd){
|
|||
mfTraceInit(uid, atqa, sak, wantSaveToEmlFile);
|
||||
} else {
|
||||
oddparitybuf(bufPtr, len, parity);
|
||||
PrintAndLog("%s(%d):%s [%s] c[%s]", isTag ? "TAG":"RDR", num, sprint_hex(bufPtr, len), printBitsPar(bufPtr + len, len), printBitsPar(parity, len));
|
||||
PrintAndLog("%s(%d):%s [%s] c[%s]%c",
|
||||
isTag ? "TAG":"RDR",
|
||||
num,
|
||||
sprint_hex(bufPtr, len),
|
||||
printBitsPar(bufPtr + len, len),
|
||||
printBitsPar(parity, len),
|
||||
memcmp(bufPtr + len, parity, len / 8 + 1) ? '!' : ' ');
|
||||
if (wantLogToFile)
|
||||
AddLogHex(logHexFileName, isTag ? "TAG: ":"RDR: ", bufPtr, len);
|
||||
if (wantDecrypt)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue