mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
fix hf 14a sim, on device side a sneaky detection if data started with zero, it would treat it as uid is in emulator memory. Also fixed a size issue on flag
This commit is contained in:
parent
2fc5834c98
commit
98d291f5b1
8 changed files with 13 additions and 11 deletions
|
@ -78,7 +78,7 @@ void RunMod(void) {
|
|||
state = STATE_EMUL;
|
||||
}
|
||||
} else if (state == STATE_EMUL) {
|
||||
uint8_t flags = 0;
|
||||
uint16_t flags = 0;
|
||||
if (card.uidlen == 4) {
|
||||
flags |= FLAG_4B_UID_IN_DATA;
|
||||
} else if (card.uidlen == 7) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue