mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-10 15:32:41 -07:00
small fix
This commit is contained in:
parent
aadc6bf1e1
commit
a31f7f899b
1 changed files with 8 additions and 2 deletions
|
@ -85,7 +85,10 @@ void annotateIso14443a(char *exp, size_t size, uint8_t* cmd, uint8_t cmdsize)
|
||||||
{
|
{
|
||||||
switch(cmd[0])
|
switch(cmd[0])
|
||||||
{
|
{
|
||||||
case ISO14443A_CMD_WUPA: snprintf(exp,size,"WUPA"); break;
|
case ISO14443A_CMD_WUPA:
|
||||||
|
snprintf(exp,size,"WUPA");
|
||||||
|
MifareAuthState = masNone;
|
||||||
|
break;
|
||||||
case ISO14443A_CMD_ANTICOLL_OR_SELECT:{
|
case ISO14443A_CMD_ANTICOLL_OR_SELECT:{
|
||||||
// 93 20 = Anticollision (usage: 9320 - answer: 4bytes UID+1byte UID-bytes-xor)
|
// 93 20 = Anticollision (usage: 9320 - answer: 4bytes UID+1byte UID-bytes-xor)
|
||||||
// 93 70 = Select (usage: 9370+5bytes 9320 answer - answer: 1byte SAK)
|
// 93 70 = Select (usage: 9370+5bytes 9320 answer - answer: 1byte SAK)
|
||||||
|
@ -108,7 +111,10 @@ void annotateIso14443a(char *exp, size_t size, uint8_t* cmd, uint8_t cmdsize)
|
||||||
snprintf(exp,size,"ANTICOLL-2"); break;
|
snprintf(exp,size,"ANTICOLL-2"); break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case ISO14443A_CMD_REQA: snprintf(exp,size,"REQA"); break;
|
case ISO14443A_CMD_REQA:
|
||||||
|
snprintf(exp,size,"REQA");
|
||||||
|
MifareAuthState = masNone;
|
||||||
|
break;
|
||||||
case ISO14443A_CMD_READBLOCK: snprintf(exp,size,"READBLOCK(%d)",cmd[1]); break;
|
case ISO14443A_CMD_READBLOCK: snprintf(exp,size,"READBLOCK(%d)",cmd[1]); break;
|
||||||
case ISO14443A_CMD_WRITEBLOCK: snprintf(exp,size,"WRITEBLOCK(%d)",cmd[1]); break;
|
case ISO14443A_CMD_WRITEBLOCK: snprintf(exp,size,"WRITEBLOCK(%d)",cmd[1]); break;
|
||||||
case ISO14443A_CMD_HALT:
|
case ISO14443A_CMD_HALT:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue