mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
Update cmdlfkeri.c
This commit is contained in:
parent
f32efd10fe
commit
f2ae1ff57a
1 changed files with 5 additions and 0 deletions
|
@ -104,6 +104,7 @@ static int CmdKeriMSScramble (KeriMSScramble_t Action, uint32_t *FC, uint32_t *I
|
||||||
if (FCDecodeState[31- 1] == '1') FCDecodeState[31- 1] = '?';
|
if (FCDecodeState[31- 1] == '1') FCDecodeState[31- 1] = '?';
|
||||||
if (FCDecodeState[31- 2] == '1') FCDecodeState[31- 2] = '?';
|
if (FCDecodeState[31- 2] == '1') FCDecodeState[31- 2] = '?';
|
||||||
|
|
||||||
|
PrintAndLogEx(SUCCESS, "Partial Keri MS decode");
|
||||||
PrintAndLogEx(SUCCESS, "BitState ID : %s",IDDecodeState);
|
PrintAndLogEx(SUCCESS, "BitState ID : %s",IDDecodeState);
|
||||||
PrintAndLogEx(SUCCESS, "BitState FC : %s",FCDecodeState);
|
PrintAndLogEx(SUCCESS, "BitState FC : %s",FCDecodeState);
|
||||||
}
|
}
|
||||||
|
@ -210,8 +211,12 @@ static int CmdKeriDemod(const char *Cmd) {
|
||||||
|
|
||||||
PrintAndLogEx (SUCCESS,"Descrambled MS : FC %d - Card ID %d\n",fc,cardid);
|
PrintAndLogEx (SUCCESS,"Descrambled MS : FC %d - Card ID %d\n",fc,cardid);
|
||||||
|
|
||||||
|
/*
|
||||||
|
Scamble: For dev testing only, will/should move to the create keri-ms code when added.
|
||||||
|
|
||||||
uint32_t testCard = 0;
|
uint32_t testCard = 0;
|
||||||
CmdKeriMSScramble (Scramble,&fc,&cardid,&testCard);
|
CmdKeriMSScramble (Scramble,&fc,&cardid,&testCard);
|
||||||
|
*/
|
||||||
|
|
||||||
// End Descramble test
|
// End Descramble test
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue