mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-22 06:13:27 -07:00
hf mf sniff. 2nd try. failed
This commit is contained in:
parent
e2afe0698b
commit
9ef07793ea
1 changed files with 1 additions and 1 deletions
|
@ -870,7 +870,7 @@ int mfTraceDecode(uint8_t *data_src, int len, uint8_t parity, bool wantSaveToEml
|
|||
printf("key> nr1: %08x ar1: %08x at1: %08x nt_parity: %s\n", nr1, ar1, at1, printBitsPar(&nt_enc_par, 4));
|
||||
|
||||
bool check = false;
|
||||
check = oddparity8(nt1 >> 8 & 0xff) ^ (nt1 & 0x01) ^ ((nt_enc_par >> 1) & 0x01) ^ (nt_enc & 0x01);
|
||||
check = oddparity8(nt1 >> 8 & 0xff) ^ (nt1 & 0x01) ^ ((nt_enc_par >> 6) & 0x01) ^ (nt_enc & 0x01);
|
||||
if (check)
|
||||
printf("check1 error\n");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue