mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
chg: outside limits, [adaptation amiibocyou]
This commit is contained in:
parent
e429f2c245
commit
22f10016ba
1 changed files with 4 additions and 2 deletions
|
@ -193,14 +193,16 @@ int applyIso14443a(char *exp, size_t size, uint8_t* cmd, uint8_t cmdsize) {
|
||||||
if ( cmdsize >=3 && cmd[2] <= 0xE6)
|
if ( cmdsize >=3 && cmd[2] <= 0xE6)
|
||||||
snprintf(exp,size,"READ RANGE (%d-%d)",cmd[1],cmd[2]);
|
snprintf(exp,size,"READ RANGE (%d-%d)",cmd[1],cmd[2]);
|
||||||
else
|
else
|
||||||
snprintf(exp,size,"?");
|
// outside limits, useful for some tags...
|
||||||
|
snprintf(exp,size,"READ RANGE (%d-%d) (?)",cmd[1], cmd[2]);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case MIFARE_ULC_WRITE : {
|
case MIFARE_ULC_WRITE : {
|
||||||
if ( cmd[1] < 0x21 )
|
if ( cmd[1] < 0x21 )
|
||||||
snprintf(exp,size,"WRITEBLOCK(%d)",cmd[1]);
|
snprintf(exp,size,"WRITEBLOCK(%d)",cmd[1]);
|
||||||
else
|
else
|
||||||
snprintf(exp,size,"?");
|
// outside limits, useful for some tags...
|
||||||
|
snprintf(exp, size, "WRITEBLOCK(%d) (?)", cmd[1]);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case MIFARE_ULEV1_READ_CNT :{
|
case MIFARE_ULEV1_READ_CNT :{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue